kbuild: add -no-integrated-as Clang option unconditionally
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 6 Nov 2018 03:04:54 +0000 (12:04 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jan 2019 08:51:05 +0000 (09:51 +0100)
commitdcaab8b5d7459dfb29216d6c4482cad798daf70a
treea94c864327fe8e5486e04eaecca4d3befca7a323
parent28e1d143b868f762efdb8d4429a8487c2b0a880a
kbuild: add -no-integrated-as Clang option unconditionally

commit dbe27a002ef8573168cb64e181458ea23a74e2b6 upstream.

We are still a way off the Clang's integrated assembler support for
the kernel. Hence, -no-integrated-as is mandatory to build the kernel
with Clang. If you had an ancient version of Clang that does not
recognize this option, you would not be able to compile the kernel
anyway.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Makefile