Add quotes as CC can contain spaces.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 3 Feb 2014 14:10:24 +0000 (14:10 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 3 Feb 2014 14:10:24 +0000 (14:10 +0000)
PR#3253

Makefile.org

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