diff options
| author | Nathan Chancellor <[email protected]> | 2023-01-12 03:05:00 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2023-01-26 03:41:29 +0000 |
| commit | 337ff6bb8960fdc128cabd264aaea3d42ca27a32 (patch) | |
| tree | ffafdc9568935ecc2cb271fe8e9d6de966b2d2b4 /scripts/clang-tools/run-clang-tools.py | |
| parent | MIPS: Always use -Wa,-msoft-float and eliminate GAS_HAS_SET_HARDFLOAT (diff) | |
| download | kernel-337ff6bb8960fdc128cabd264aaea3d42ca27a32.tar.gz kernel-337ff6bb8960fdc128cabd264aaea3d42ca27a32.zip | |
MIPS: Prefer cc-option for additions to cflags
A future change will switch as-option to use KBUILD_AFLAGS instead of
KBUILD_CFLAGS to allow clang to drop -Qunused-arguments, which may cause
issues if the flag being tested requires a flag previously added to
KBUILD_CFLAGS but not KBUILD_AFLAGS. Use cc-option for cflags additions
so that the flags are tested properly.
Signed-off-by: Nathan Chancellor <[email protected]>
Acked-by: Thomas Bogendoerfer <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Linux Kernel Functional Testing <[email protected]>
Tested-by: Anders Roxell <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/clang-tools/run-clang-tools.py')
0 files changed, 0 insertions, 0 deletions
