diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2007-09-17 14:16:08 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2007-09-17 14:16:08 +0000 |
commit | 4aa4159ae2ef784f7d829a7bbf8ea0cf9f99ca6c (patch) | |
tree | aa508fed2a6cadf239d8c6b277d539ea6c788624 /hints/hpux.sh | |
parent | 7ddd1a01ef22f1bc137d869ae726178f12ff8714 (diff) | |
download | perl-4aa4159ae2ef784f7d829a7bbf8ea0cf9f99ca6c.tar.gz |
HP's ANSI-C optimizer breaks op.c (t/op/state.t failure); ccversion fixed
p4raw-id: //depot/perl@31886
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r-- | hints/hpux.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh index 762afe7019..f806274c53 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -157,7 +157,7 @@ case `$cc -v 2>&1`"" in done [ -z "$cc_found" ] && cc_found=`which cc` what $cc_found >&4 - ccversion=`what $cc_found | awk '/Compiler/{print $2}/Itanium/{print $6,$7}/for Integrity/{print $7}'` + ccversion=`what $cc_found | awk '/Compiler/{print $2}/Itanium/{print $6,$7}/for Integrity/{print $6}'` case "$ccflags" in "-Ae "*) ;; *) ccflags="-Ae $cc_cppflags" @@ -365,6 +365,7 @@ to at least 0x08000000 (128 Mb) and rebuild your kernel. EOM regexec_cflags='' doop_cflags='' +op_cflags='' fi case "$ccisgcc" in @@ -424,7 +425,8 @@ case "$ccisgcc" in # maint (5.8.8+) and blead (5.9.3+) # -O1/+O1 passed all tests (m)'05 [ 10 Jan 2005 ] optimize="$opt" ;; - *) doop_cflags="optimize=\"$opt\"" ;; + *) doop_cflags="optimize=\"$opt\"" + op_cflags="optimize=\"$opt\"" ;; esac ;; esac |