summaryrefslogtreecommitdiff
path: root/hints/unicos.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/unicos.sh')
-rw-r--r--hints/unicos.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/hints/unicos.sh b/hints/unicos.sh
index 7ffd73fbcc..5d29754586 100644
--- a/hints/unicos.sh
+++ b/hints/unicos.sh
@@ -2,13 +2,16 @@ case `uname -r` in
6.1*) shellflags="-m+65536" ;;
esac
case "$optimize" in
-'') optimize="-O1" ;;
+'') optimize="-h nofastmd" ;; # fastmd: integer values limited to 46 bits
+esac
+case `uname -r` in
+10.*) pp_ctl_cflags='optimize="$optimize -h scalar 0 -h vector 0"' ;;
esac
d_setregid='undef'
d_setreuid='undef'
case "$usemymalloc" in
-'') # The perl malloc.c SHOULD work says Ilya.
- # But for the time being (5.004_68), alas, it doesn't.
+'') # The perl malloc.c SHOULD work in Unicos (ILP64) says Ilya.
+ # But for the time being (5.004_68), alas, it doesn't. --jhi
# usemymalloc='y'
# ccflags="$ccflags -DNO_RCHECK"
usemymalloc='n'