This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d55a45
)
Since HP cc is strict c89, use -std=c89 with gcc.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 21 Nov 2014 01:19:27 +0000
(20:19 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 21 Nov 2014 01:30:48 +0000
(20:30 -0500)
Mitigates the downside of
0d55a45a
a bit.
hints/hpux.sh
patch
|
blob
|
blame
|
history
diff --git
a/hints/hpux.sh
b/hints/hpux.sh
index
39150be
..
8062d8f
100644
(file)
--- 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`