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

Makefile.org

index 1120cb6048b9539f1dbaacde94418d5211327a13..318d92cd9077a424e84c43007b7442b99e117c18 100644 (file)
@@ -302,7 +302,7 @@ 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  CC=$${CC:-$(CC)} 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; \