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 cfd341317fffdf303b784fca5af966ebcece58bb..6873273f53068c30feaefc8cc06a06beb57dadf9 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; \