From: Jarkko Hietaniemi Date: Sat, 15 Feb 1997 19:06:33 +0000 (+0200) Subject: Digital UNIX hints X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bcbb37e68c8af7f356dd1bf2b25fd24f46baffe3;p=p5sagit%2Fp5-mst-13.2.git Digital UNIX hints Subject: Re: Digital UNIX style patch p5p-msgid: <199702181749.TAA08255@alpha.hut.fi> private-msgid: <199702151906.VAA22999@alpha.hut.fi> --- diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index f0b380b..4ded53b 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -59,6 +59,21 @@ case "$optimize" in ;; esac +# we want optimisation + +case "$optimize" in +'') case "$cc" in + *gcc*) + optimize='-O3' ;; + *) case "$_DEC_cc_style" in + new) optimize='-O4' ;; + old) optimize='-O2 -Olimit 3200' ;; + esac + ;; + esac + ;; +esac + # all compilers are ANSI ccflags="$ccflags -DSTANDARD_C" @@ -91,8 +106,21 @@ case "$optimize" in esac # +# Unset temporary variables no more needed. +# + +unset _DEC_cc_style + +# # History: # +# perl5.003_27: +# +# 18-Feb-1997 Jarkko Hietaniemi +# +# * unset _DEC_cc_style and more commentary on -std1. +# +# # perl5.003_24: # # 30-Jan-1997 Jarkko Hietaniemi