diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-22 21:47:41 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-22 21:47:41 +0000 |
commit | fcb0901bd34305668c7b4d0aeb5b32f5a95fad0e (patch) | |
tree | c7d3792db741d002545db38b31b9ee4f94871381 /hints | |
parent | fdf4829643c900179386b7b25f562008c3612a69 (diff) | |
download | perl-fcb0901bd34305668c7b4d0aeb5b32f5a95fad0e.tar.gz |
UNICOS: Mark Lutz had a better idea.
p4raw-id: //depot/perl@16741
Diffstat (limited to 'hints')
-rw-r--r-- | hints/unicos.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hints/unicos.sh b/hints/unicos.sh index bff3b22f5d..2af5f283ed 100644 --- a/hints/unicos.sh +++ b/hints/unicos.sh @@ -14,9 +14,10 @@ ccflags="$ccflags -h matherror=errno" # (It gives int((2/3)*3) a chance to be 2, not 1. --jhi) # (but IEEE CPUs, IEEE/ieee/CPE1 CPUs should not have -h rounddiv, # since the compiler on those CPUs doesn't even support the option.) -case "`/etc/cpu -i|grep cfp`" in -*"cfp") ccflags="$ccflags -h rounddiv" ;; -esac +if /etc/cpu -i | grep -q cfp +then + ccflags="$ccflags -h rounddiv" +fi # Avoid an optimizer bug where a volatile variables # isn't correctly saved and restored --Mark P. Lutz |