Author: imp
Date: Mon Aug 24 00:03:51 2015
New Revision: 287086
URL: https://svnweb.freebsd.org/changeset/base/287086

Log:
  We need to add the soft float to the CFLAGS always, not just when
  NO_CPUCFLAGS is not defined since it is part of the ABI as we've
  defined it, not just a nice optimization.

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

Modified: head/share/mk/bsd.cpu.mk
==============================================================================
--- head/share/mk/bsd.cpu.mk    Sun Aug 23 23:12:30 2015        (r287085)
+++ head/share/mk/bsd.cpu.mk    Mon Aug 24 00:03:51 2015        (r287086)
@@ -273,7 +273,9 @@ CFLAGS += -G0
 .endif
 
 .if ${MACHINE_ARCH} == "armv6"
-_CPUCFLAGS += -mfloat-abi=softfp
+# Needs to be CFLAGS not _CPUCFLAGS because it's needed for the ABI
+# not a nice optimization.
+CFLAGS += -mfloat-abi=softfp
 .endif
 
 # NB: COPTFLAGS is handled in /usr/src/sys/conf/kern.pre.mk
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to