diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2001-08-27 18:25:51 +0200 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2001-08-27 13:39:16 +0000 |
commit | eb9ee3dc93112029ee3de6fd047d54576a1f1a1f (patch) | |
tree | b0ed0489e21933a1147fe5fe1d4ce451d8a16461 /hints | |
parent | 53e06cf030da5eb71c0b61c0690494f3c70e0555 (diff) | |
download | perl-eb9ee3dc93112029ee3de6fd047d54576a1f1a1f.tar.gz |
GNU ld parses arguments different
Message-Id: <20010827162254.2EA6.H.M.BRAND@hccnet.nl>
p4raw-id: //depot/perl@11757
Diffstat (limited to 'hints')
-rw-r--r-- | hints/hpux.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh index 6b93d80730..c3c4c41e11 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -69,11 +69,11 @@ case `$cc -v 2>&1`"" in fi case "`getconf KERNEL_BITS 2>/dev/null`" in *64*) + echo "main(){}">try.c case "$gccversion" in 3*) ccflags="$ccflags -mpa-risc-2-0" ;; - *) echo "main(){}">try.c - # gcc with gas will not accept +DA2.0 + *) # gcc with gas will not accept +DA2.0 case "`$cc -c -Wa,+DA2.0 try.c 2>&1`" in *"+DA2.0"*) # gas gnu_as=yes @@ -98,6 +98,7 @@ case `$cc -v 2>&1`"" in esac ;; esac + rm -f try.c ;; esac ;; @@ -125,7 +126,7 @@ toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"' gcc_64native=no case "$ccisgcc" in $define|true|[Yy]) - echo 'int main(){long l;printf("%d\\n",sizeof(l));}'>try.c + echo 'int main(){long l;printf("%d\\n",sizeof(l));}'>try.c $cc -o try $ccflags $ldflags try.c if [ "`try`" = "8" ]; then cat <<EOM >&4 @@ -455,4 +456,3 @@ EOCBU # fpclassify() is a macro, the library call is Fpclassify d_fpclassify='define' - |