summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-05-16 23:05:09 +0200
committerAndy Polyakov <appro@openssl.org>2005-05-16 23:05:09 +0200
commit0978dec13110c2ebc18b9e476a859389745c7596 (patch)
tree9f052f75e0a03ddfd31fbc954d9d77848475d953
parentChange wording for BN_mod_exp_mont_consttime() entry (diff)
downloadopenssl-0978dec13110c2ebc18b9e476a859389745c7596.tar.xz
openssl-0978dec13110c2ebc18b9e476a859389745c7596.zip
Improve shell portability of new rules in Makefile.shared.
-rw-r--r--Makefile.shared6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.shared b/Makefile.shared
index 59e191f3c1..5afd419f9a 100644
--- a/Makefile.shared
+++ b/Makefile.shared
@@ -93,8 +93,8 @@ LINK_APP= \
LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \
LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
- $${LDCMD:-$(CC)} $${LDFLAGS:-$(CFLAGS)} \
- -o $${APPNAME:-$(APPNAME)} $(OBJECTS) $$LIBDEPS )
+ $${LDCMD:=$(CC)} $${LDFLAGS:=$(CFLAGS)} \
+ -o $${APPNAME:=$(APPNAME)} $(OBJECTS) $$LIBDEPS )
LINK_SO= \
( $(SET_X); \
@@ -103,7 +103,7 @@ LINK_SO= \
LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \
LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
- $${SHAREDCMD:-$(CC)} $${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)} \
+ $${SHAREDCMD:=$(CC)} $${SHAREDFLAGS:=$(CFLAGS) $(SHARED_LDFLAGS)} \
-o $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX \
$$ALLSYMSFLAGS $$SHOBJECTS $$NOALLSYMSFLAGS $$LIBDEPS \
) && $(SYMLINK_SO); \