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
commitaed526b9b8fe19b0a180adeac543ddec2025c76b (patch)
tree56b4cc5e601c4f59e91cd96cdb6a2af1a4d8cc31 /hints
parentea9ff3e904561f717ed20a297f2dc44564bb7035 (diff)
downloadperl-aed526b9b8fe19b0a180adeac543ddec2025c76b.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'
;;