svn commit: r279372 - head/sys/conf
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Fri Feb 27 20:32:51 UTC 2015
Author: nwhitehorn
Date: Fri Feb 27 20:32:50 2015
New Revision: 279372
URL: https://svnweb.freebsd.org/changeset/base/279372
Log:
Use appropriate alternative to -msoft-float for clang-built PowerPC kernels.
Modified:
head/sys/conf/kern.mk
Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk Fri Feb 27 20:32:09 2015 (r279371)
+++ head/sys/conf/kern.mk Fri Feb 27 20:32:50 2015 (r279372)
@@ -131,7 +131,9 @@ INLINE_LIMIT?= 8000
# Also explicitly disable Altivec instructions inside the kernel.
#
.if ${MACHINE_CPUARCH} == "powerpc"
-CFLAGS+= -msoft-float -mno-altivec
+CFLAGS+= -mno-altivec
+CFLAGS.clang+= -mllvm -disable-ppc-float-in-variadic=true
+CFLAGS.gcc+= -msoft-float
INLINE_LIMIT?= 15000
.endif
@@ -139,7 +141,7 @@ INLINE_LIMIT?= 15000
# Use dot symbols on powerpc64 to make ddb happy
#
.if ${MACHINE_ARCH} == "powerpc64"
-CFLAGS+= -mcall-aixdesc
+CFLAGS.gcc+= -mcall-aixdesc
.endif
#
More information about the svn-src-all
mailing list