kbuild: Switch to 'f' variants of integrated assembler flag
authorNathan Chancellor <nathan@kernel.org>
Mon, 16 Aug 2021 20:52:47 +0000 (13:52 -0700)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 2 Sep 2021 23:17:20 +0000 (08:17 +0900)
commit2185a7e4b0ade86c2c57fc63d4a7535c40254bd0
tree85afe52964b286dbeedc0e1be692e38e2233fed2
parent6272cc389fec78d1c0685599b8cad974476d89bb
kbuild: Switch to 'f' variants of integrated assembler flag

It has been brought up a few times in various code reviews that clang
3.5 introduced -f{,no-}integrated-as as the preferred way to enable and
disable the integrated assembler, mentioning that -{no-,}integrated-as
are now considered legacy flags.

Switch the kernel over to using those variants in case there is ever a
time where clang decides to remove the non-'f' variants of the flag.

Also, fix a typo in a comment ("intergrated" -> "integrated").

Link: https://releases.llvm.org/3.5.0/tools/clang/docs/ReleaseNotes.html#new-compiler-flags
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile.clang
scripts/as-version.sh