summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.alpha
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-03-12 07:47:09 +0000
committerkris <kris@FreeBSD.org>2001-03-12 07:47:09 +0000
commitb38db8f922e001ed8bc9ee6e5d8d64cd953afdca (patch)
treec12a4e29ca1d21d4f319dde9927e3c9aa00b4fb4 /sys/conf/Makefile.alpha
parenta02554ace16e9904d9ceefd63248b7941794d306 (diff)
downloadFreeBSD-src-b38db8f922e001ed8bc9ee6e5d8d64cd953afdca.zip
FreeBSD-src-b38db8f922e001ed8bc9ee6e5d8d64cd953afdca.tar.gz
Use CPUTYPE to add appropriate compiler flags to COPTFLAGS for kernel
builds. This may be disabled using the NO_CPU_COPTFLAGS variable. Reviewed by: arch
Diffstat (limited to 'sys/conf/Makefile.alpha')
-rw-r--r--sys/conf/Makefile.alpha5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha
index 5a9a326..26a4704 100644
--- a/sys/conf/Makefile.alpha
+++ b/sys/conf/Makefile.alpha
@@ -37,7 +37,10 @@ M= ${MACHINE_ARCH}
SIZE?= size
OBJCOPY?= objcopy
-COPTFLAGS?=-O
+COPTFLAGS?=-O -pipe
+.if !defined(NO_CPU_COPTFLAGS)
+COPTFLAGS+= ${_CPUCFLAGS}
+.endif
INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S -I$S/dev
# This hack is to allow kernel compiles to succeed on machines w/out srcdist
.if exists($S/../include)
OpenPOWER on IntegriCloud