In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/ff265b04d5aca2feab3937e669b95fe0aefae8cd?hp=0d55a45a6f024919f13cbe70fc861f5eb6d757ee>
- Log ----------------------------------------------------------------- commit ff265b04d5aca2feab3937e669b95fe0aefae8cd Author: Jarkko Hietaniemi <[email protected]> Date: Thu Nov 20 20:19:27 2014 -0500 Since HP cc is strict c89, use -std=c89 with gcc. Mitigates the downside of 0d55a45a a bit. ----------------------------------------------------------------------- Summary of changes: hints/hpux.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hints/hpux.sh b/hints/hpux.sh index 39150be..8062d8f 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -76,6 +76,10 @@ case "$prefix" in case `$cc -v 2>&1`"" in *gcc*) ccisgcc="$define" ccflags="$cc_cppflags" + + # Since the HP cc is strict C89, let's follow suit. + ccflags="$ccflags -std=c89" + if [ "X$gccversion" = "X" ]; then # Done too late in Configure if hinted gccversion=`$cc -dumpversion` -- Perl5 Master Repository
