p4raw-id: //depot/perl@13572
# 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
;;
*)
# 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'
;;