Author: imp
Date: Sun Aug 13 04:10:47 2017
New Revision: 322453
URL: https://svnweb.freebsd.org/changeset/base/322453

Log:
  We don't use ARM_ARCH_6 in the tree, and haven't for a long long
  time. Remove it from here. As far as I could tell, nothing in ports
  use it (either __ARM_ARCH or __ARM_ARCH_6__ is used in all the
  apatches). We do have a define for _ARM_ARCH_6, but it's mostly unused
  (and will remain, since it isn't in this file).

Modified:
  head/share/mk/bsd.cpu.mk

Modified: head/share/mk/bsd.cpu.mk
==============================================================================
--- head/share/mk/bsd.cpu.mk    Sun Aug 13 01:23:13 2017        (r322452)
+++ head/share/mk/bsd.cpu.mk    Sun Aug 13 04:10:47 2017        (r322453)
@@ -111,10 +111,9 @@ _CPUCFLAGS = -march=armv5te -D__XSCALE__
 .  elif ${CPUTYPE:M*soft*} != ""
 _CPUCFLAGS = -mfloat-abi=softfp
 .  elif ${CPUTYPE} == "armv6"
-# Not sure we still need ARM_ARCH_6=1 here.
-_CPUCFLAGS = -march=${CPUTYPE} -DARM_ARCH_6=1
+_CPUCFLAGS = -march=${CPUTYPE}
 .  elif ${CPUTYPE} == "cortexa"
-_CPUCFLAGS = -march=armv7 -DARM_ARCH_6=1 -mfpu=vfp
+_CPUCFLAGS = -march=armv7 -mfpu=vfp
 .  elif ${CPUTYPE:Marmv[4567]*} != ""
 # Handle all the armvX types that FreeBSD runs:
 #      armv4, armv4t, armv5, armv5te, armv6, armv6t2, armv7, armv7-a, armv7ve
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to