Skip to contentSkip to conversation

Makefile, LLVM: add -no-integrated-as to KBUILD_[AC]FLAGS

PATCH RESEND Superseded Matthias Kaehlcke 2 participants 2 messages Apr 20, 2017 – Apr 21, 2017 Kbuild

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 Makefile, LLVM: add -no-integrated-as to KBUILD_[AC]FLAGS

From: Michael Davidson <[email protected]>

Add -no-integrated-as to KBUILD_AFLAGS and KBUILD_CFLAGS for clang.

---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)
Makefile +2 -0
index 5039b9148d15..3832c8243334 100644
@@ -710,6 +710,8 @@ KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare)
 # See modpost pattern 2
 KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,)
 KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
+KBUILD_CFLAGS += $(call cc-option, -no-integrated-as)
+KBUILD_AFLAGS += $(call cc-option, -no-integrated-as)
 else
 
 # These warnings generated too much noise in a regular build.
Signature · 1 line
2.12.2.816.g2cccc81164-goog
#1 lore raw

2017-04-21 4:42 GMT+09:00 Matthias Kaehlcke <[email protected]>:

Quoted 7 lines

From: Michael Davidson <[email protected]>

Add -no-integrated-as to KBUILD_AFLAGS and KBUILD_CFLAGS for clang.

Michael sent this to the kbuild ML, so
you need not re-send it with your additional signed-off-by.

Actually, re-sending patches is no more helpful than a ping message.

Signature · 2 lines
Best Regards
Masahiro Yamada