Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kbuild: add -Wno-unused-but-set-variable flag unconditionally
We have raised the compiler requirement from time to time. With commit cafa001 ("Raise the minimum required gcc version to 4.6"), the minimum for GCC is 4.6 now. This flag was added by GCC 4.6, and it is recognized by ICC as well. It is true that Clang does not support this flag but this commit is just touching the else part of the "ifeq ($(cc-name),clang)" check. Hence, Clang build is not affected. Let's rip off the cc-disable-warning switch, and see if somebody complains about it. Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]>
- Loading branch information