diff options
author | cognet <cognet@FreeBSD.org> | 2007-10-16 18:32:37 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2007-10-16 18:32:37 +0000 |
commit | b58c6cf36b49180775f0837a3a69acc73b01fbd1 (patch) | |
tree | b5ceedee3ca113ade3518f184cabce4f6284ef47 | |
parent | 08810f3770facbd02ce50662a55f97d63405b727 (diff) | |
download | FreeBSD-src-b58c6cf36b49180775f0837a3a69acc73b01fbd1.zip FreeBSD-src-b58c6cf36b49180775f0837a3a69acc73b01fbd1.tar.gz |
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
-rw-r--r-- | share/mk/bsd.cpu.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index 8c07ace..fdcd6f0 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -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 |