quote HOSTCC in case it isn't defined
This commit is contained in:
parent
582eb96d15
commit
bab19a2ac2
@ -123,7 +123,7 @@ fips_premain_dso$(EXE_EXT): fips_premain.c
|
|||||||
$(FIPSLIBDIR)fipscanister.o ../libcrypto.a $(EX_LIBS)
|
$(FIPSLIBDIR)fipscanister.o ../libcrypto.a $(EX_LIBS)
|
||||||
# this is executed only when linking with external fipscanister.o
|
# this is executed only when linking with external fipscanister.o
|
||||||
fips_standalone_sha1$(EXE_EXT): sha/fips_standalone_sha1.c
|
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) ; \
|
$(CC) $(CFLAGS) -DFIPSCANISTER_O -o $@ sha/fips_standalone_sha1.c $(FIPSLIBDIR)fipscanister.o $(EX_LIBS) ; \
|
||||||
else \
|
else \
|
||||||
$(HOSTCC) $(HOSTCFLAGS) -o $ $@ -I../include -I../crypto sha/fips_standalone_sha1.c ../crypto/sha/sha1dgst.c ; \
|
$(HOSTCC) $(HOSTCFLAGS) -o $ $@ -I../include -I../crypto sha/fips_standalone_sha1.c ../crypto/sha/sha1dgst.c ; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user