kbuild: add -Wvla flag unconditionally
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 9 May 2019 06:45:49 +0000 (15:45 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 18 May 2019 02:49:52 +0000 (11:49 +0900)
commit8289f913fe12644a9358c12df3da5bd4e7767df0
tree270c9c64d47aa22fe25eebe63000bb956ba29899
parent33ff99fb0915a2225897d0bf072ec271e81ad8e0
kbuild: add -Wvla flag unconditionally

This flag is documented in the GCC 4.6 manual, and recognized by
Clang as well. Let's rip off the cc-option switch.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Sedat Dilek <sedat.dilek@gmail.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Kees Cook <keescook@chromium.org>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Makefile