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
@ -44,7 +44,10 @@ CPUTYPE = athlon
|
|||||||
# http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86-64-Options.html
|
# http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86-64-Options.html
|
||||||
|
|
||||||
. if ${MACHINE_ARCH} == "i386"
|
. 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"
|
${CPUTYPE} == "athlon-4"
|
||||||
_ICC_CPUCFLAGS = -tpp6 -xiMK
|
_ICC_CPUCFLAGS = -tpp6 -xiMK
|
||||||
_CPUCFLAGS = -march=${CPUTYPE}
|
_CPUCFLAGS = -march=${CPUTYPE}
|
||||||
|
Loading…
Reference in New Issue
Block a user