From: H.Merijn Brand Date: Mon, 30 May 2005 11:07:45 +0000 (+0000) Subject: gcc hints were not yet applied to gcc-4.x X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b951dd56557958e31c158a64dc318a83e01f429b;p=p5sagit%2Fp5-mst-13.2.git gcc hints were not yet applied to gcc-4.x Now they are p4raw-id: //depot/perl@24630 --- diff --git a/hints/hpux.sh b/hints/hpux.sh index 7a95841..3ce1d85 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -84,7 +84,7 @@ case `$cc -v 2>&1`"" in [012]*) # HP-UX and gcc-2.* break UINT32_MAX :-( ccflags="$ccflags -DUINT32_MAX_BROKEN" ;; - 3*) # GCC (both 32bit and 64bit) will define __STDC_EXT__ + [34]*) # GCC (both 32bit and 64bit) will define __STDC_EXT__ # by default when using GCC 3.0 and newer versions of # the compiler. cppflags="$cc_cppflags" @@ -94,7 +94,7 @@ case `$cc -v 2>&1`"" in *64*) echo "main(){}">try.c case "$gccversion" in - 3*) + [34]*) case "$archname" in PA-RISC*) case "$ccflags" in @@ -269,15 +269,16 @@ EOM # HP-UX soon, including a user-friendly exit case $gcc_64native in no) case "$gccversion" in - [123]*) ccflags="$ccflags -mlp64" - case "$archname" in - PA-RISC*) - ldflags="$ldflags -Wl,+DD64" - ;; - IA64*) - ldflags="$ldflags -mlp64" - ;; - esac + [1234]*) + ccflags="$ccflags -mlp64" + case "$archname" in + PA-RISC*) + ldflags="$ldflags -Wl,+DD64" + ;; + IA64*) + ldflags="$ldflags -mlp64" + ;; + esac ;; esac ;;