diff options
author | kris <kris@FreeBSD.org> | 2001-03-12 07:47:09 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-03-12 07:47:09 +0000 |
commit | b38db8f922e001ed8bc9ee6e5d8d64cd953afdca (patch) | |
tree | c12a4e29ca1d21d4f319dde9927e3c9aa00b4fb4 /sys/conf/Makefile.alpha | |
parent | a02554ace16e9904d9ceefd63248b7941794d306 (diff) | |
download | FreeBSD-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.alpha | 5 |
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) |