diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2001-05-01 18:34:06 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-01 14:17:15 +0000 |
commit | 781588a5a21bdfbec678303791d7d19fbc68f66b (patch) | |
tree | d3b4827dea9615328093a261dc55d0be5e174c64 /hints/hpux.sh | |
parent | 24138b49dff297b9543ed25a772dc44660a37fc8 (diff) | |
download | perl-781588a5a21bdfbec678303791d7d19fbc68f66b.tar.gz |
Re: Finally got a round tuit
Message-Id: <20010501163255.19F2.H.M.BRAND@hccnet.nl>
cpp and optimization tweaks for HP-UX.
p4raw-id: //depot/perl@9929
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r-- | hints/hpux.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh index da481dac38..5254258594 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -83,6 +83,11 @@ case `$cc -v 2>&1`"" in *) ccisgcc='' ccversion=`which cc | xargs what | awk '/Compiler/{print $2}'` ccflags="-Ae $cc_cppflags" + # Needed because cpp does only support -Aa (not -Ae) + cpplast='-' + cppminus='-' + cppstdin='cc -E -Aa -D__STDC_EXT__' + cpprun=$cppstdin case "$d_casti32" in "") d_casti32='undef' ;; esac @@ -201,7 +206,7 @@ case "$ccisgcc" in *) # HP's compiler cannot combine -g and -O case "$optimize" in - "") optimize="-O" ;; + "") optimize="+O2 +Onolimit" ;; *O[3456789]*) optimize=`echo "$optimize" | sed -e 's/O[3-9]/O2/'` ;; esac ld=/usr/bin/ld |