From: Andy Polyakov Date: Sun, 10 Nov 2013 22:06:41 +0000 (+0100) Subject: Makefile.org: make FIPS build work with BSD make. X-Git-Tag: OpenSSL_1_0_2-beta1~167 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=60adefa61025ffd7d56cf7ff8491008f783282bf;p=oweals%2Fopenssl.git Makefile.org: make FIPS build work with BSD make. --- diff --git a/Makefile.org b/Makefile.org index 9e3cfc49de..06e733e8f3 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; \