Deleted Added
full compact
bsd.cpu.mk (117514) bsd.cpu.mk (124347)
1# $FreeBSD: head/share/mk/bsd.cpu.mk 117514 2003-07-13 10:34:09Z mux $
1# $FreeBSD: head/share/mk/bsd.cpu.mk 124347 2004-01-10 18:01:08Z ru $
2
3# Set default CPU compile flags and baseline CPUTYPE for each arch. The
4# compile flags must support the minimum CPU type for each architecture but
5# may tune support for more advanced processors.
6
7.if !defined(CPUTYPE) || empty(CPUTYPE)
8. if ${MACHINE_ARCH} == "i386"
9_CPUCFLAGS = -mcpu=pentiumpro

--- 126 unchanged lines hidden (view full) ---

136. endif
137. endif
138.endif
139
140.if ${MACHINE_ARCH} == "alpha"
141_CPUCFLAGS += -mieee
142.endif
143
2
3# Set default CPU compile flags and baseline CPUTYPE for each arch. The
4# compile flags must support the minimum CPU type for each architecture but
5# may tune support for more advanced processors.
6
7.if !defined(CPUTYPE) || empty(CPUTYPE)
8. if ${MACHINE_ARCH} == "i386"
9_CPUCFLAGS = -mcpu=pentiumpro

--- 126 unchanged lines hidden (view full) ---

136. endif
137. endif
138.endif
139
140.if ${MACHINE_ARCH} == "alpha"
141_CPUCFLAGS += -mieee
142.endif
143
144# NB: COPTFLAGS is handled in /usr/src/sys/conf/Makefile.<arch>
144# NB: COPTFLAGS is handled in /usr/src/sys/conf/kern.pre.mk
145
146.if !defined(NO_CPU_CFLAGS)
147CFLAGS += ${_CPUCFLAGS}
148.endif
145
146.if !defined(NO_CPU_CFLAGS)
147CFLAGS += ${_CPUCFLAGS}
148.endif