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
This commit is contained in:
Justin Hibbits 2017-01-22 06:00:05 +00:00
parent 5c1f5ea426
commit 0b58112faf

View File

@ -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