diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2001-03-12 07:47:09 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2001-03-12 07:47:09 +0000 |
commit | 5ca7924a9138c93a1c261e9adfa4d1f773bf4a35 (patch) | |
tree | 7935b08bf8f0e3fd69acf78cc09d08565fb311d5 /sys/conf/Makefile.ia64 | |
parent | dda83222fcdf463bb980a8d17cceeb5bd53898a3 (diff) | |
download | src-5ca7924a9138c93a1c261e9adfa4d1f773bf4a35.tar.gz src-5ca7924a9138c93a1c261e9adfa4d1f773bf4a35.zip |
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
Notes
Notes:
svn path=/head/; revision=74146
Diffstat (limited to 'sys/conf/Makefile.ia64')
-rw-r--r-- | sys/conf/Makefile.ia64 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/conf/Makefile.ia64 b/sys/conf/Makefile.ia64 index c1e0eec51392..617c7eb29afe 100644 --- a/sys/conf/Makefile.ia64 +++ b/sys/conf/Makefile.ia64 @@ -47,7 +47,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) |