Deleted Added
full compact
bsd.cpu.mk (160535) bsd.cpu.mk (160536)
1# $FreeBSD: head/share/mk/bsd.cpu.mk 160535 2006-07-20 22:13:59Z cognet $
1# $FreeBSD: head/share/mk/bsd.cpu.mk 160536 2006-07-20 22:42:48Z imp $
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_CPUCFLAGS =
9. if ${MACHINE_ARCH} == "i386"

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

56CPUTYPE = nocona
57. endif
58. endif
59
60###############################################################################
61# Logic to set up correct gcc optimization flag. This must be included
62# after /etc/make.conf so it can react to the local value of CPUTYPE
63# defined therein. Consult:
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_CPUCFLAGS =
9. if ${MACHINE_ARCH} == "i386"

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

56CPUTYPE = nocona
57. endif
58. endif
59
60###############################################################################
61# Logic to set up correct gcc optimization flag. This must be included
62# after /etc/make.conf so it can react to the local value of CPUTYPE
63# defined therein. Consult:
64# http://gcc.gnu.org/onlinedocs/gcc/DEC-Alpha-Options.html
64# http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
65# http://gcc.gnu.org/onlinedocs/gcc/IA-64-Options.html
66# http://gcc.gnu.org/onlinedocs/gcc/RS-6000-and-PowerPC-Options.html
67# http://gcc.gnu.org/onlinedocs/gcc/SPARC-Options.html
68# http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86-64-Options.html
69
70. if ${MACHINE_ARCH} == "i386"
71. if ${CPUTYPE} == "crusoe"
72_CPUCFLAGS = -march=i686 -falign-functions=0 -falign-jumps=0 -falign-loops=0

--- 131 unchanged lines hidden ---
65# http://gcc.gnu.org/onlinedocs/gcc/IA-64-Options.html
66# http://gcc.gnu.org/onlinedocs/gcc/RS-6000-and-PowerPC-Options.html
67# http://gcc.gnu.org/onlinedocs/gcc/SPARC-Options.html
68# http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86-64-Options.html
69
70. if ${MACHINE_ARCH} == "i386"
71. if ${CPUTYPE} == "crusoe"
72_CPUCFLAGS = -march=i686 -falign-functions=0 -falign-jumps=0 -falign-loops=0

--- 131 unchanged lines hidden ---