diff options
author | appro <appro> | 2009-05-12 20:57:11 +0000 |
---|---|---|
committer | appro <appro> | 2009-05-12 20:57:11 +0000 |
commit | b582ea00836b8ed3b70ff7d58ba6e6cdf7b4a78e (patch) | |
tree | 6cb9a03e3414c63ab1ff34978ee937f8d61cafb1 | |
parent | 5639c6745866e4f29a0e72afdfd485e5c5e7adf6 (diff) | |
download | openssl-OpenSSL-fips-0_9_8-stable.tar.gz |
fips/Makefile: $(CC) -dumpversion can't be used to identify gcc, HP COpenSSL-fips-0_9_8-stable
doesn't return error code in reply to -dumpversion.
-rw-r--r-- | fips/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fips/Makefile b/fips/Makefile index 04b1fb08a..24b9e7389 100644 --- a/fips/Makefile +++ b/fips/Makefile @@ -103,7 +103,7 @@ fipscanister.o: fips_start.o $(LIBOBJ) $(FIPS_OBJ_LISTS) fips_end.o [ "$$os" = "AIX" ] && cflags="$$cflags -Wl,-bnoobjreorder"; \ if [ -n "${FIPS_SITE_LD}" ]; then \ set -x; ${FIPS_SITE_LD} -r -o $@ $$objs; \ - elif $(CC) -dumpversion >/dev/null 2>&1; then \ + elif ($(CC) -v 2>&1 | grep "gcc version")>/dev/null; then \ set -x; $(CC) $$cflags -r -nostdlib -o $@ $$objs ; \ else case "$$os" in \ HP-UX|OSF1|SunOS) set -x; /usr/ccs/bin/ld -r -o $@ $$objs ;; \ |