This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
HP-UX 10.20 still *needs* -Ae for HP C-ANSI-C to be ANSI
[perl5.git] / hints / hpux.sh
index 335b3dd..8fe7092 100644 (file)
@@ -142,7 +142,7 @@ case `$cc -v 2>&1`"" in
                *)  ccflags="-Ae $cc_cppflags"
                    # +vnocompatwarnings not known in 10.10 and older
                    if [ $xxOsRev -ge 1020 ]; then
                *)  ccflags="-Ae $cc_cppflags"
                    # +vnocompatwarnings not known in 10.10 and older
                    if [ $xxOsRev -ge 1020 ]; then
-                       ccflags="$cc_cppflags -Wl,+vnocompatwarnings"
+                       ccflags="$ccflags -Wl,+vnocompatwarnings"
                        fi
                    ;;
                esac
                        fi
                    ;;
                esac