summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-11-10 23:06:41 +0100
committerAndy Polyakov <appro@openssl.org>2013-11-10 23:08:25 +0100
commitafec9f57da80b63957e620219a4f7af8ccdca910 (patch)
tree29992ffa62367036ff3563c40a7d9573da348235 /Makefile.org
parent0ec1a77891e59647e1645631bc7cba294a605e1b (diff)
Makefile.org: make FIPS build work with BSD make.
(cherry picked from commit 60adefa61025ffd7d56cf7ff8491008f783282bf)
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.org b/Makefile.org
index 2db31ead6f..0368ed9508 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -302,7 +302,8 @@ libcrypto$(SHLIB_EXT): libcrypto.a fips_premain_dso$(EXE_EXT)
FIPSLD_CC="$(CC)"; CC=$(FIPSDIR)/bin/fipsld; \
export CC FIPSLD_CC FIPSLD_LIBCRYPTO; \
fi; \
- $(MAKE) -e SHLIBDIRS=crypto build-shared; \
+ $(MAKE) -e SHLIBDIRS=crypto CC=$${CC:-$(CC)} build-shared; \
+ touch -c fips_premain_dso($EXE_EXT); \
else \
echo "There's no support for shared libraries on this platform" >&2; \
exit 1; \