summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-05-09 15:35:34 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-05-09 15:35:34 +0000
commitf3ff050fccffadeeccf49f587e2b99d7f1c70fd6 (patch)
tree2507ff8a37e62a3163dd0a735103b9d6afaba90b /hints
parent23ba291d5a581f12c90346ee6444229b5c863176 (diff)
downloadperl-f3ff050fccffadeeccf49f587e2b99d7f1c70fd6.tar.gz
Hints and test tweaks for Unicos.
p4raw-id: //depot/cfgperl@6101
Diffstat (limited to 'hints')
-rw-r--r--hints/unicos.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/hints/unicos.sh b/hints/unicos.sh
index 33974f2b81..e49b373758 100644
--- a/hints/unicos.sh
+++ b/hints/unicos.sh
@@ -6,9 +6,11 @@ case "$optimize" in
# --Mark P. Lutz
'') optimize="$optimize -h nofastmd" ;;
esac
-# The default is to die on math overflows with an runtime error.
+# The default is to die in runtime on math overflows.
# 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"
# 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"'