summaryrefslogtreecommitdiff
path: root/devel/cpuflags/files/cpuflags.Linux
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cpuflags/files/cpuflags.Linux')
-rwxr-xr-xdevel/cpuflags/files/cpuflags.Linux14
1 files changed, 8 insertions, 6 deletions
diff --git a/devel/cpuflags/files/cpuflags.Linux b/devel/cpuflags/files/cpuflags.Linux
index 07dc28cd9a2..e2cea2740e6 100755
--- a/devel/cpuflags/files/cpuflags.Linux
+++ b/devel/cpuflags/files/cpuflags.Linux
@@ -1,16 +1,18 @@
#!/bin/sh
-# $NetBSD: cpuflags.Linux,v 1.4 2001/11/27 02:31:48 abs Exp $
+# $NetBSD: cpuflags.Linux,v 1.5 2001/11/27 12:26:12 abs Exp $
hw_model=`uname -m`
case $hw_model in
# i386
- i386*) FLAGS='-march=i386' ;;
- i486*) FLAGS='-march=i486' ;;
- i586*) FLAGS='-march=pentium' ;;
- i686*) FLAGS='-march=pentiumpro' ;;
+ i386) FLAGS='-march=i386' ;;
+ i486) FLAGS='-march=i486' ;;
+ i586) FLAGS='-march=pentium' ;;
+ i686) FLAGS='-march=pentiumpro' ;;
#
- *) echo "Unknown hw.model '$hw_model'" >&2
+ *) echo "Unknown hw.model '$hw_model'" >&2
+ echo "Please send machine details to abs@netbsd.org" >&2
+ ;;
esac
# Fixup flags for old gcc