Enable -Wundef by default

BUG=webm:1069

Change-Id: I43728f9fd007542718a55d5fdcbc63a8d2f86682
This commit is contained in:
Johann 2016-08-31 22:17:38 -07:00
parent 1139f0dbc2
commit 4d1c117f5b

3
configure vendored
View File

@ -574,6 +574,9 @@ process_toolchain() {
check_add_cflags -Wimplicit-function-declaration
check_add_cflags -Wuninitialized
check_add_cflags -Wunused
# check_add_cflags also adds to cxxflags. gtest does not do well with
# -Wundef so add it explicitly to CFLAGS only.
check_cflags -Wundef && add_cflags_only -Wundef
case ${CC} in
*clang*)
# libvpx and/or clang have issues with aliasing: