Nathan Chancellor 5abcd2c18d MIPS: Prefer cc-option for additions to cflags
commit 337ff6bb8960fdc128cabd264aaea3d42ca27a32 upstream.

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>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-21 16:01:03 +02:00
..
2023-06-21 16:00:53 +02:00
2023-03-10 09:34:30 +01:00
2022-05-04 22:22:59 +02:00
2023-03-17 08:50:30 +01:00
2022-05-04 22:22:59 +02:00
2022-09-26 12:37:21 -04:00
2022-10-03 09:31:55 -07:00
2022-09-12 15:33:24 +02:00
2022-08-06 16:47:19 -07:00
2021-01-22 11:40:00 +01:00
2021-10-18 18:09:54 +02:00
2022-05-04 22:22:59 +02:00
2022-05-04 22:22:59 +02:00
2022-02-07 18:31:57 +01:00
2022-07-14 11:52:29 +02:00
2023-06-21 16:00:53 +02:00