summaryrefslogtreecommitdiff
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorMichael Davidson <md@google.com>2017-04-25 15:47:35 -0700
committerAmit Pundir <amit.pundir@linaro.org>2017-11-20 21:15:59 +0530
commit60354b787c098cb0b80887df71ae821ecd928a82 (patch)
tree46837fca4dea9fad8e06f400c2e9c76d32ac1968 /scripts/Makefile.lib
parent77d26db2265b50a67050120c82a33797190c6444 (diff)
UPSTREAM: kbuild: clang: add -no-integrated-as to KBUILD_[AC]FLAGS
The Linux Kernel relies on GCC's acceptance of inline assembly as an opaque object which will not have any validation performed on the content. The current behaviour in LLVM is to perform validation of the contents by means of parsing the input if the MC layer can handle it. Disable clangs integrated assembler and use the GNU assembler instead. Wording-mostly-from: Saleem Abdulrasool <compnerd@compnerd.org> Signed-off-by: Michael Davidson <md@google.com> Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> (cherry picked from commit a37c45cd82e62a361706b9688a984a3a63957321) Signed-off-by: Greg Hackmann <ghackmann@google.com> Change-Id: Iae412ad5294f8f5e4d66f0085a5dd70f5464ac91
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions