Backout rev 1.62, and revert to use -march=armv5te -D__XSCALE__ instead

of -mcpu=xscale for XScale.
gcc still has issues with -mcpu=xscale, and now crashes while building
systat.

Reported by:	sam
MFC After:	3 days
This commit is contained in:
Olivier Houchard 2007-10-16 18:32:37 +00:00
parent a0f4a3a63b
commit 4251babd0a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172706

View File

@ -103,7 +103,9 @@ _ICC_CPUCFLAGS =
_CPUCFLAGS = -march=${CPUTYPE}
. elif ${MACHINE_ARCH} == "arm"
. if ${CPUTYPE} == "xscale"
_CPUCFLAGS = -mcpu=xscale
#XXX: gcc doesn't seem to like -mcpu=xscale, and dies while rebuilding itself
#_CPUCFLAGS = -mcpu=xscale
_CPUCFLAGS = -march=armv5te -D__XSCALE__
. else
_CPUCFLAGS = -mcpu=${CPUTYPE}
. endif