• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

TLS/SSL and crypto library


Commit MetaInfo

Révision6f93fd56857e84fffd9363a0e3cc883f4a9f5d12 (tree)
l'heure2009-05-13 05:57:11
AuteurAndy Polyakov <appro@open...>
CommiterAndy Polyakov

Message de Log

fips/Makefile: $(CC) -dumpversion can't be used to identify gcc, HP C
doesn't return error code in reply to -dumpversion.

Change Summary

Modification

--- a/fips/Makefile
+++ b/fips/Makefile
@@ -103,7 +103,7 @@ fipscanister.o: fips_start.o $(LIBOBJ) $(FIPS_OBJ_LISTS) fips_end.o
103103 [ "$$os" = "AIX" ] && cflags="$$cflags -Wl,-bnoobjreorder"; \
104104 if [ -n "${FIPS_SITE_LD}" ]; then \
105105 set -x; ${FIPS_SITE_LD} -r -o $@ $$objs; \
106- elif $(CC) -dumpversion >/dev/null 2>&1; then \
106+ elif ($(CC) -v 2>&1 | grep "gcc version")>/dev/null; then \
107107 set -x; $(CC) $$cflags -r -nostdlib -o $@ $$objs ; \
108108 else case "$$os" in \
109109 HP-UX|OSF1|SunOS) set -x; /usr/ccs/bin/ld -r -o $@ $$objs ;; \