]> git.itanic.dy.fi Git - linux-stable/commit
kbuild: uapi: use -fsyntax-only rather than -S
authorNick Desaulniers <ndesaulniers@google.com>
Wed, 30 Mar 2022 18:34:06 +0000 (11:34 -0700)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 5 Apr 2022 08:03:31 +0000 (17:03 +0900)
commit9a22717b9b074d75baf7dd6041487730e53b4dbb
tree86041694df694f09fdf657c337d5c8df7c7740a2
parent3123109284176b1532874591f7c81f3837bbdc17
kbuild: uapi: use -fsyntax-only rather than -S

The UAPI header tests are checking that the generated headers do not
have syntax errors. There's no need to run the rest of the compilation
pipeline after semantic analysis has run. Replace -S -o /dev/null with
-fsyntax-only.

Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
usr/include/Makefile