summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-10-25 18:24:39 +0000
committerobrien <obrien@FreeBSD.org>2004-10-25 18:24:39 +0000
commit7a008b17d181814b38d7067ad870743987d7c739 (patch)
tree9a59037c448ad9775224df20473fa9ed27bdb41d /sys/conf
parent6cd4381f71c46ead3be7a5abd3665469815fdb28 (diff)
downloadFreeBSD-src-7a008b17d181814b38d7067ad870743987d7c739.zip
FreeBSD-src-7a008b17d181814b38d7067ad870743987d7c739.tar.gz
Don the teflon coated jacket and use the same -O2 optimization options on
the 'i386' kernel that we do all our 64-bit kernels.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.pre.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 07b4a9d..49f55331 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -21,14 +21,8 @@ COPTFLAGS?=-O
.else
. if ${MACHINE_ARCH} == "amd64"
COPTFLAGS?=-O2 -frename-registers -pipe
-. elif ${MACHINE_ARCH} == "ia64"
-COPTFLAGS?=-O2 -pipe
-. elif ${MACHINE_ARCH} == "sparc64"
-COPTFLAGS?=-O2 -pipe
-. elif ${MACHINE_ARCH} == "arm"
-COPTFLAGS?=-O2 -pipe
. else
-COPTFLAGS?=-O -pipe
+COPTFLAGS?=-O2 -pipe
. endif
. if ${COPTFLAGS:M-O[23s]} != ""
COPTFLAGS+= -fno-strict-aliasing
OpenPOWER on IntegriCloud