summaryrefslogtreecommitdiff
path: root/hints/unicos.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-05-02 22:24:31 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-05-02 22:24:31 +0000
commita20e3af3265360798a79dcde782ad9fc7f468461 (patch)
tree74994180424a474644a7db2c964e4715d7233481 /hints/unicos.sh
parent9bc5fa8de0e98ff1317c3fdc7e35f6e13be0ac35 (diff)
downloadperl-a20e3af3265360798a79dcde782ad9fc7f468461.tar.gz
Unicos hint tweak.
p4raw-id: //depot/cfgperl@6052
Diffstat (limited to 'hints/unicos.sh')
-rw-r--r--hints/unicos.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/hints/unicos.sh b/hints/unicos.sh
index 43045ff6f9..12a809d5f4 100644
--- a/hints/unicos.sh
+++ b/hints/unicos.sh
@@ -2,10 +2,13 @@ case `uname -r` in
6.1*) shellflags="-m+65536" ;;
esac
case "$optimize" in
-# if we used fastmd (the default) integer values would be limited to 43 bits
+# If we used fastmd (the default) integer values would be limited to 43 bits.
# --Mark P. Lutz
-'') optimize="-h nofastmd" ;;
+'') optimize="$optimize -h nofastmd" ;;
esac
+# The default is to die on math overflows with an runtime error.
+# Let's not do that. --jhi
+ccflags="$ccflags -h matherr=errno"
# 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"'