usr/src/lib/openssl/Patches/27-HOSTCC.patch
changeset 11 87960ed158f9
parent 10 612517e396e0
child 12 12fc69ddc5a5
equal deleted inserted replaced
10:612517e396e0 11:87960ed158f9
     1 --- openssl-0.9.8m/fips/Makefile	Thu Mar  4 15:12:12 2010
       
     2 +++ openssl-0.9.8m/fips/Makefile	Thu Mar  4 15:10:38 2010
       
     3 @@ -123,7 +123,7 @@
       
     4  		$(FIPSLIBDIR)fipscanister.o ../libcrypto.a $(EX_LIBS)
       
     5  # this is executed only when linking with external fipscanister.o
       
     6  fips_standalone_sha1$(EXE_EXT):	sha/fips_standalone_sha1.c
       
     7 -	if [ -z $(HOSTCC) ] ; then \
       
     8 +	if [ -z "$(HOSTCC)" ] ; then \
       
     9  		$(CC) $(CFLAGS) -DFIPSCANISTER_O -o $@ sha/fips_standalone_sha1.c $(FIPSLIBDIR)fipscanister.o $(EX_LIBS) ; \
       
    10  	else \
       
    11  		$(HOSTCC) $(HOSTCFLAGS) -o $ $@ -I../include -I../crypto sha/fips_standalone_sha1.c ../crypto/sha/sha1dgst.c ; \