]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Wed, 27 Feb 2019 09:07:02 +0000 (10:07 +0100)
commitc95a870d1cdeda811c9ba4a16c16c4d1e2baa701
tree203faedb3547146bacf3fb0dc6c70b30f7dfbf9e
parente1e7f343ea57be71cf6b57caae43e123033ee1e5
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