summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hints/svr4.sh8
-rwxr-xr-xt/op/pack.t2
2 files changed, 6 insertions, 4 deletions
diff --git a/hints/svr4.sh b/hints/svr4.sh
index c781686e38..cbc2d9549f 100644
--- a/hints/svr4.sh
+++ b/hints/svr4.sh
@@ -156,12 +156,14 @@ if test -f /etc/issue -a -f /etc/.relid; then
# libcrypt contains nothing libc wouldn't have.
libswanted=`echo " $libswanted " | sed -e 's/ crypt / /'`
# With the NCR High Performance C Compiler R3.0c, miniperl fails
- # t/op/regexp.t test 461 unless we compile with optimize=-g.
+ # t/op/regexp.t test 461 unless we compile with optimize=-O0.
# Volunteers are needed to determine just which files need special
- # treatment. For now, use optimize=-g for everything.
+ # treatment. For now, use optimize=-O0 for everything.
#
+ d_usleep='undef'
+ d_ualarm='undef'
case "$optimize" in
- '') optimize='-g' ;;
+ '') optimize='-O0' ;;
esac
fi
diff --git a/t/op/pack.t b/t/op/pack.t
index 00e8609021..6e3d6e4ff2 100755
--- a/t/op/pack.t
+++ b/t/op/pack.t
@@ -189,7 +189,7 @@ sub list_eq ($$) {
||
($^O eq 'ultrix')
||
- ($^O eq 'svr4' && -f "/etc/issue" && -f "/etc/.relid") # NCR MP-RAS
+ ($^O =~ /^svr4/ && -f "/etc/issue" && -f "/etc/.relid") # NCR MP-RAS
);
my $inf = eval '2**10000';