summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2013-01-07 23:41:14 +0000
committercognet <cognet@FreeBSD.org>2013-01-07 23:41:14 +0000
commit9ccb91286974ea54e3c449b20a87895e2ee96e29 (patch)
tree176cea8b99b1bb222d9e96b1a809487761a16c73 /share
parent87211dc2c9362030ad77e9d72c157a6bbefd2401 (diff)
downloadFreeBSD-src-9ccb91286974ea54e3c449b20a87895e2ee96e29.zip
FreeBSD-src-9ccb91286974ea54e3c449b20a87895e2ee96e29.tar.gz
Nuke ARM_WANT_TP_ADDRESS, it's not used anymore.
Don't force -march=armv6 for Cortex A, as we want at least armv6k. The compiler default is good enough.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.cpu.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
index 21e70ad..1b90603 100644
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -97,13 +97,13 @@ _CPUCFLAGS = -march=${CPUTYPE}
. if ${CPUTYPE} == "xscale"
#XXX: gcc doesn't seem to like -mcpu=xscale, and dies while rebuilding itself
#_CPUCFLAGS = -mcpu=xscale
-_CPUCFLAGS = -march=armv5te -D__XSCALE__ -DARM_WANT_TP_ADDRESS
+_CPUCFLAGS = -march=armv5te -D__XSCALE__
. elif ${CPUTYPE} == "armv6"
_CPUCFLAGS = -march=${CPUTYPE} -DARM_ARCH_6=1
. elif ${CPUTYPE} == "cortexa"
-_CPUCFLAGS = -march=armv6 -DARM_ARCH_6=1 -mfpu=vfp
+_CPUCFLAGS = -DARM_ARCH_6=1 -mfpu=vfp
. else
-_CPUCFLAGS = -mcpu=${CPUTYPE} -DARM_WANT_TP_ADDRESS
+_CPUCFLAGS = -mcpu=${CPUTYPE}
. endif
. elif ${MACHINE_ARCH} == "powerpc"
. if ${CPUTYPE} == "e500"
OpenPOWER on IntegriCloud