From 0b58112faf69e2036635fb351f5e1aa67aa5efb6 Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Sun, 22 Jan 2017 06:00:05 +0000 Subject: [PATCH] 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 Reported by: Mark Millard MFC after: 2 weeks --- sys/conf/Makefile.powerpc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index e529ef7cc11..3d01a342d7d 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -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