summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-09 23:44:25 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-09 23:44:25 +0000
commit74c9ad184d7b3fa8dcfe8adcb17124d940c07463 (patch)
tree56b4cc5e601c4f59e91cd96cdb6a2af1a4d8cc31 /hints
parente71cc4477fe34251a6c19ac7f9f1e8c55cc2b5aa (diff)
downloadperl-74c9ad184d7b3fa8dcfe8adcb17124d940c07463.tar.gz
OpenBSD hints update from OpenBSD 3.0.
p4raw-id: //depot/perl@13572
Diffstat (limited to 'hints')
-rw-r--r--hints/openbsd.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index 3b73578a9d..823d744c40 100644
--- a/hints/openbsd.sh
+++ b/hints/openbsd.sh
@@ -30,9 +30,8 @@ d_setruid=$undef
# it can set the libperl name appropriately.
# Allow command line overrides.
#
-ARCH=`arch|sed 's/^OpenBSD.//'`
-case "${ARCH}-${osvers}" in
-alpha-*|mips-*|vax-*|powerpc-2.[0-7]|m88k-*)
+case "`arch -s`-${osvers}" in
+alpha-2.[0-8]|mips-*|vax-*|powerpc-2.[0-7]|m88k-*)
test -z "$usedl" && usedl=$undef
;;
*)
@@ -71,7 +70,7 @@ d_suidsafe=$define
# cc is gcc so we can do better than -O
# Allow a command-line override, such as -Doptimize=-g
-case "$ARCH" in
+case `arch -s` in
m88k)
optimize='-O0'
;;