]> granicus.if.org Git - openssl/commitdiff
Makefile.org: make FIPS build work with BSD make.
authorAndy Polyakov <appro@openssl.org>
Sun, 10 Nov 2013 22:06:41 +0000 (23:06 +0100)
committerAndy Polyakov <appro@openssl.org>
Sun, 10 Nov 2013 22:06:41 +0000 (23:06 +0100)
Makefile.org

index 9e3cfc49dedb9c9b40b3d453f951bd2759125291..06e733e8f34a129b558a980f3dc6db40a08e0777 100644 (file)
@@ -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; \