diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-13 04:26:15 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-13 04:26:15 +0000 |
commit | adc819799bb6f7a4b26d8cd4a2ad17aae2e76055 (patch) | |
tree | 984d2dd365f4756959390b5cb382c3fb1944e84e /hints/hpux.sh | |
parent | d6083e444522cedf943784098e5c0b0c01e3c3e1 (diff) | |
download | perl-adc819799bb6f7a4b26d8cd4a2ad17aae2e76055.tar.gz |
hints tweak
p4raw-id: //depot/cfgperl@5696
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r-- | hints/hpux.sh | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh index 91ba86831e..9798a5bf63 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -189,15 +189,13 @@ esac' case "$ccisgcc" in "$define") ;; *) # The strict ANSI mode (-Aa) doesn't like the LL suffixes. + ccflags=`echo " $ccflags "|sed 's@ -Aa @ @g'` case "$ccflags" in - *-Aa*) - echo "(Changing from strict ANSI compilation to extended because of 64-bitness)" - ccflags=`echo $ccflags|sed 's@ -Aa @ -Ae @'` - ;; + *-Ae*) ;; *) ccflags="$ccflags -Ae" ;; esac ;; - esac + esac set `echo " $libswanted " | sed -e 's@ dl @ @'` libswanted="$*" @@ -395,13 +393,12 @@ case "$uselargefiles" in ccflags="$ccflags -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" # The strict ANSI mode (-Aa) doesn't like large files. - case "$ccflags" in - -Aa*) - echo "(Changing from strict ANSI compilation to extended because of large files)" - ccflags=`echo $ccflags|sed 's@ -Aa @ -Ae @'` - ;; - *) ccflags="$ccflags -Ae" ;; - esac + ccflags=`echo " $ccflags "|sed 's@ -Aa @ @g'` + case "$ccflags" in + *-Ae*) ;; + *) ccflags="$ccflags -Ae" ;; + esac + ;; esac EOCBU |