summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2007-08-27 10:09:22 +0000
committerabs <abs@pkgsrc.org>2007-08-27 10:09:22 +0000
commit2bbaf41332b4cae301796833a2382d67664b9b7c (patch)
tree90ceae13dba5c2414d59d1a241b4e4612f29356d /devel
parenta3f13d197a0ba6bf5bcc993e86b78b6289667a48 (diff)
downloadpkgsrc-2bbaf41332b4cae301796833a2382d67664b9b7c.tar.gz
remove some of my debugging accidently commited
Diffstat (limited to 'devel')
-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)