quote HOSTCC in case it isn't defined
authorDr. Stephen Henson <steve@openssl.org>
Fri, 26 Feb 2010 19:56:10 +0000 (19:56 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 26 Feb 2010 19:56:10 +0000 (19:56 +0000)
fips/Makefile

index 720a883a6949fae8b2d106a144f805f21fe4788f..546b54b2fd4d0c4eb5552de2e19745240b6a6c15 100644 (file)
@@ -123,7 +123,7 @@ fips_premain_dso$(EXE_EXT): fips_premain.c
                $(FIPSLIBDIR)fipscanister.o ../libcrypto.a $(EX_LIBS)
 # this is executed only when linking with external fipscanister.o
 fips_standalone_sha1$(EXE_EXT):        sha/fips_standalone_sha1.c
-       if [ -z $(HOSTCC) ] ; then \
+       if [ -z "$(HOSTCC)" ] ; then \
                $(CC) $(CFLAGS) -DFIPSCANISTER_O -o $@ sha/fips_standalone_sha1.c $(FIPSLIBDIR)fipscanister.o $(EX_LIBS) ; \
        else \
                $(HOSTCC) $(HOSTCFLAGS) -o $ $@ -I../include -I../crypto sha/fips_standalone_sha1.c ../crypto/sha/sha1dgst.c ; \