summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdevel/cpuflags/files/cpuflags.sh3
-rw-r--r--devel/cpuflags/files/subr_x863
2 files changed, 2 insertions, 4 deletions
diff --git a/devel/cpuflags/files/cpuflags.sh b/devel/cpuflags/files/cpuflags.sh
index 19cb288b65f..18f18b734f8 100755
--- a/devel/cpuflags/files/cpuflags.sh
+++ b/devel/cpuflags/files/cpuflags.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.sh,v 1.2 2007/08/27 10:08:29 abs Exp $
+# $NetBSD: cpuflags.sh,v 1.3 2007/08/27 10:09:22 abs Exp $
PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
include()
@@ -62,7 +62,6 @@ test "x$ARCH" != "x$M_ARCH_NATIVE" && # gcc have not autodetection
case "$hw_machine_arch" in # all known x86 mnemonics
i386|i486|i586|i686|x86_64|amd64|i86pc)
include subr_x86 # this provides flags_fixup_x86arch()
- echo $FEATURES
l_arch=`flags_fixup_x86arch "$ARCH" "$FEATURES"`
test -n "$l_arch" && ARCH="-march=$l_arch"
esac
diff --git a/devel/cpuflags/files/subr_x86 b/devel/cpuflags/files/subr_x86
index 6ad7fde7c3f..b2596915a6f 100644
--- a/devel/cpuflags/files/subr_x86
+++ b/devel/cpuflags/files/subr_x86
@@ -1,4 +1,4 @@
-# $NetBSD: subr_x86,v 1.1 2007/08/27 10:08:30 abs Exp $
+# $NetBSD: subr_x86,v 1.2 2007/08/27 10:09:22 abs Exp $
flags_fixup_x86arch()
{
@@ -9,7 +9,6 @@ flags_fixup_x86arch()
# The format of table is
# feature:lowend_arch:fix_arch
#
- echo $AWK -v "arch=${arch#-march=}" -v "features=$features" >&2
$AWK -v "arch=${arch#-march=}" -v "features=$features" '
BEGIN { split(features,ar); FS=":" }
{ for (af in ar)