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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to