svn commit: r278715 - stable/10/sys/conf

Ian Lepore ian at FreeBSD.org
Fri Feb 13 21:26:46 UTC 2015


Author: ian
Date: Fri Feb 13 21:26:45 2015
New Revision: 278715
URL: https://svnweb.freebsd.org/changeset/base/278715

Log:
  MFC r272605:  Use -mfpu=none when building arm kernels.

Modified:
  stable/10/sys/conf/Makefile.arm
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/conf/Makefile.arm
==============================================================================
--- stable/10/sys/conf/Makefile.arm	Fri Feb 13 21:25:56 2015	(r278714)
+++ stable/10/sys/conf/Makefile.arm	Fri Feb 13 21:26:45 2015	(r278715)
@@ -41,6 +41,9 @@ STRIP_FLAGS = -S
 
 .if ${COMPILER_TYPE} != "clang"
 CFLAGS += -mno-thumb-interwork
+.else
+# We generally don't want fpu instructions in the kernel.
+CFLAGS += -mfpu=none
 .endif
 
 .if empty(DDB_ENABLED)


More information about the svn-src-stable mailing list