Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2015 21:26:45 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r278715 - stable/10/sys/conf
Message-ID:  <201502132126.t1DLQjYJ003567@svn.freebsd.org>

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



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