summaryrefslogtreecommitdiff
path: root/hints/ultrix_3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/ultrix_3.sh')
-rw-r--r--hints/ultrix_3.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/hints/ultrix_3.sh b/hints/ultrix_3.sh
index 2057bc683c..0df47231f6 100644
--- a/hints/ultrix_3.sh
+++ b/hints/ultrix_3.sh
@@ -1,2 +1,14 @@
ccflags="$ccflags -DLANGUAGE_C"
-d_waitpid=$undef
+tmp="`(uname -a) 2>/dev/null`"
+case "$tmp" in
+*3.[01]*RISC) d_waitpid=$undef;;
+'') d_waitpid=$undef;;
+esac
+case "$tmp" in
+*RISC)
+ cmd_cflags='optimize="-g"'
+ perl_cflags='optimize="-g"'
+ tcmd_cflags='optimize="-g"'
+ tperl_cflags='optimize="-g"'
+ ;;
+esac