commit | 01a6126b5f7efdf75480a2b970377f5724cb885a | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <masahiroy@kernel.org> | Sat Apr 04 06:24:59 2020 +0900 |
committer | Masahiro Yamada <masahiroy@kernel.org> | Thu Apr 09 00:13:45 2020 +0900 |
tree | b15877387abc1c366dd3d30ef199bdcc9a6280ae | |
parent | 0f44fbc162b737ff6251ae248184390ae2279fee [diff] |
kbuild: do not pass $(KBUILD_CFLAGS) to scripts/mkcompile_h scripts/mkcompile_h uses $(CC) only for getting the version string. I suspected there was a specific reason why the additional flags were needed, and dug the commit history. This code dates back to at least 2002 [1], but I could not get any more clue. Just get rid of it. [1]: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=29f3df7eba8ddf91a55183f9967f76fbcc3ab742 Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org>