summaryrefslogtreecommitdiff
path: root/hints/unicos.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-04-01 15:38:56 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-01 15:38:56 +0000
commit6d788a80464592f21d2b471caa656a77967d6a24 (patch)
tree90a543f204c6970731b372a2456f91f4a6bfb8cf /hints/unicos.sh
parent54ba63367adf692e9a1df9991348ecb14f2c0231 (diff)
downloadperl-6d788a80464592f21d2b471caa656a77967d6a24.tar.gz
CRAY TS does not have -h rounddiv, from Keith Thompson.
p4raw-id: //depot/perl@15660
Diffstat (limited to 'hints/unicos.sh')
-rw-r--r--hints/unicos.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/hints/unicos.sh b/hints/unicos.sh
index 4290bd53f8..7f814a2171 100644
--- a/hints/unicos.sh
+++ b/hints/unicos.sh
@@ -10,7 +10,10 @@ esac
# Let's not do that. --jhi
ccflags="$ccflags -h matherror=errno"
# Give int((2/3)*3) a chance to be 2, not 1. --jhi
-ccflags="$ccflags -h rounddiv"
+case "`uname -m`" in
+"CRAY TS") ;; # -h rounddiv not available here
+*) ccflags="$ccflags -h rounddiv" ;;
+esac
# Avoid an optimizer bug where a volatile variables
# isn't correctly saved and restored --Mark P. Lutz
pp_ctl_cflags='ccflags="$ccflags -h scalar0 -h vector0"'