diff options
| author | Nick Desaulniers <[email protected]> | 2021-08-17 00:21:07 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2021-09-02 23:17:20 +0000 |
| commit | 7ab44e9ee5f241c0ed19e350d17e80bd90bde93d (patch) | |
| tree | 72ac06597e7fb4412f91b80a84f859d0dda51d8c /scripts/clang-tools/gen_compile_commands.py | |
| parent | arc: replace cc-option-yn uses with cc-option (diff) | |
| download | kernel-7ab44e9ee5f241c0ed19e350d17e80bd90bde93d.tar.gz kernel-7ab44e9ee5f241c0ed19e350d17e80bd90bde93d.zip | |
x86: remove cc-option-yn test for -mtune=
As noted in the comment, -mtune= has been supported since GCC 3.4. The
minimum required version of GCC to build the kernel (as specified in
Documentation/process/changes.rst) is GCC 4.9.
tune is not immediately expanded. Instead it defines a macro that will
test via cc-option later values for -mtune=. But we can skip the test
whether to use -mtune= vs. -mcpu=.
Signed-off-by: Nick Desaulniers <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Reviewed-by: Miguel Ojeda <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
