Makfile.org: make FIPS build work with BSD make.
authorAndy Polyakov <appro@openssl.org>
Sun, 10 Nov 2013 22:09:22 +0000 (23:09 +0100)
committerAndy Polyakov <appro@openssl.org>
Sun, 10 Nov 2013 22:09:22 +0000 (23:09 +0100)
Makefile.org

index cfd3413..6873273 100644 (file)
@@ -395,7 +395,7 @@ libcrypto$(SHLIB_EXT): libcrypto.a build_fips
                        FIPSLD_CC="$(CC)"; CC=fips/fipsld; \
                        export CC FIPSLD_CC; \
                fi; \
-               $(MAKE) -e SHLIBDIRS=crypto build-shared; \
+               $(MAKE) -e SHLIBDIRS=crypto CC=$${CC:-$(CC)} build-shared; \
        else \
                echo "There's no support for shared libraries on this platform" >&2; \
                exit 1; \