Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1627764

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

From Matthias Kaehlcke <mka@chromium.org>
Newsgroups linux.kernel
Subject [PATCH RESEND] Makefile, LLVM: add -no-integrated-as to KBUILD_[AC]FLAGS
Date 2017-04-20 21:50 +0200
Message-ID <tyqfw-4Br-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Michael Davidson <md@google.com>

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

Signed-off-by: Michael Davidson <md@google.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 5039b9148d15..3832c8243334 100644
--- a/Makefile
+++ b/Makefile
@@ -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.
-- 
2.12.2.816.g2cccc81164-goog

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH RESEND] Makefile, LLVM: add -no-integrated-as to KBUILD_[AC]FLAGS Matthias Kaehlcke <mka@chromium.org> - 2017-04-20 21:50 +0200
  Re: [PATCH RESEND] Makefile, LLVM: add -no-integrated-as to KBUILD_[AC]FLAGS Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-21 09:50 +0200

csiph-web