Add ${CPUTYPE} support for crusoe processors (cribbed from Linux kernel
settings). Pretend that a crusoe is an i686 which doesn't like alignment padding.
This commit is contained in:
parent
6a50285516
commit
002d186bf0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127888
@ -44,7 +44,10 @@ CPUTYPE = athlon
|
||||
# http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86-64-Options.html
|
||||
|
||||
. if ${MACHINE_ARCH} == "i386"
|
||||
. if ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || \
|
||||
. if ${CPUTYPE} == "crusoe"
|
||||
_ICC_CPUCFLAGS = -tpp6 -xiM
|
||||
_CPUCFLAGS = -march=i686 -falign-functions=0 -falign-jumps=0 -falign-loops=0
|
||||
. elif ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || \
|
||||
${CPUTYPE} == "athlon-4"
|
||||
_ICC_CPUCFLAGS = -tpp6 -xiMK
|
||||
_CPUCFLAGS = -march=${CPUTYPE}
|
||||
|
Loading…
Reference in New Issue
Block a user