shithub: libvpx

Download patch

ref: 4d1c117f5bc0200b7484b95ad07c856c6b9003cd
parent: 1139f0dbc22d228bc1e295dc76819da6333daa99
author: Johann <johannkoenig@google.com>
date: Wed Aug 31 18:17:38 EDT 2016

Enable -Wundef by default

BUG=webm:1069

Change-Id: I43728f9fd007542718a55d5fdcbc63a8d2f86682

--- a/configure
+++ b/configure
@@ -574,6 +574,9 @@
         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: