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: NNathan Chancellor <nathan@kernel.org> Acked-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de> Reviewed-by: NNick Desaulniers <ndesaulniers@google.com> Reviewed-by: NPhilippe Mathieu-Daudé <philmd@linaro.org> Tested-by: NLinux Kernel Functional Testing <lkft@linaro.org> Tested-by: NAnders Roxell <anders.roxell@linaro.org> Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
Showing
想要评论请 注册 或 登录