svn commit: r287086 - head/share/mk
Warner Losh
imp at FreeBSD.org
Mon Aug 24 00:03:52 UTC 2015
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
More information about the svn-src-all
mailing list