Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2015 00:03:51 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287086 - head/share/mk
Message-ID:  <201508240003.t7O03pGp096383@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508240003.t7O03pGp096383>