From: Jarkko Hietaniemi Date: Sun, 9 Dec 2001 23:44:25 +0000 (+0000) Subject: OpenBSD hints update from OpenBSD 3.0. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aed526b9b8fe19b0a180adeac543ddec2025c76b;p=p5sagit%2Fp5-mst-13.2.git OpenBSD hints update from OpenBSD 3.0. p4raw-id: //depot/perl@13572 --- diff --git a/hints/openbsd.sh b/hints/openbsd.sh index 3b73578..823d744 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' ;;