WSL2-Linux-Kernel/arch/mips/loongson2ef
Nathan Chancellor 337ff6bb89 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 <nathan@kernel.org>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Tested-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2023-01-26 12:41:29 +09:00
..
common MIPS: Loongson2ef: remove orphan sbx00_acpi_init() declaration 2022-09-19 16:34:31 +02:00
fuloong-2e arch: mips: Remove CONFIG_OPROFILE support 2021-01-22 12:12:26 +05:30
lemote-2f arch: mips: Remove CONFIG_OPROFILE support 2021-01-22 12:12:26 +05:30
Kconfig mips: loongsoon2ef: remove private clk api 2020-04-16 17:34:23 +02:00
Makefile MIPS: Fork loongson2ef from loongson64 2019-11-01 14:30:52 -07:00
Platform MIPS: Prefer cc-option for additions to cflags 2023-01-26 12:41:29 +09:00