Change 10991 by jhi@alpha on 2001/06/27 17:04:13

        Subject: Re: [PATCH] gcc-3.0 warnings on HP-UX
        From: "H.Merijn Brand" <[EMAIL PROTECTED]>
        Date: Wed, 27 Jun 2001 18:40:04 +0200
        Message-Id: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/hints/hpux.sh#70 edit

Differences ...

==== //depot/perl/hints/hpux.sh#70 (text) ====
Index: perl/hints/hpux.sh
--- perl/hints/hpux.sh.~1~      Wed Jun 27 16:00:11 2001
+++ perl/hints/hpux.sh  Wed Jun 27 16:00:11 2001
@@ -83,8 +83,12 @@
                            gnu_ld=yes
                            ;;
                        *)                      # HPld
-                           ldflags="$ldflags -Wl,+vnocompatwarnings"
-                           ccflags="$ccflags -Wl,+vnocompatwarnings"
+                           case "$gccversion" in
+                               [12]*)
+                                   ldflags="$ldflags -Wl,+vnocompatwarnings"
+                                   ccflags="$ccflags -Wl,+vnocompatwarnings"
+                                   ;;
+                               esac
                            ;;
                        esac
                    ;;
End of Patch.

Reply via email to