svn commit: r312614 - head/sys/conf
Justin Hibbits
jhibbits at FreeBSD.org
Sun Jan 22 06:00:07 UTC 2017
Author: jhibbits
Date: Sun Jan 22 06:00:05 2017
New Revision: 312614
URL: https://svnweb.freebsd.org/changeset/base/312614
Log:
Don't pass -Wa,-many through clang, the integrated as doesn't support it.
Our base binutils sets -many by default anyway, but external gcc may not do
this.
PR: kern/215948
Submitted by: Mark Millard <markmi AT dsl-only DOT net>
Reported by: Mark Millard
MFC after: 2 weeks
Modified:
head/sys/conf/Makefile.powerpc
Modified: head/sys/conf/Makefile.powerpc
==============================================================================
--- head/sys/conf/Makefile.powerpc Sun Jan 22 05:49:43 2017 (r312613)
+++ head/sys/conf/Makefile.powerpc Sun Jan 22 06:00:05 2017 (r312614)
@@ -39,7 +39,8 @@ INCLUDES+= -I$S/contrib/libfdt
# Force __SPE__, since the builtin will be removed later with -mno-spe
CFLAGS+= -mabi=spe -D__SPE__
.endif
-CFLAGS+= -msoft-float -Wa,-many
+CFLAGS+= -msoft-float
+CFLAGS.gcc+= -Wa,-many
# Build position-independent kernel
CFLAGS+= -fPIC
More information about the svn-src-all
mailing list