commit | ce32f705a878f5dffc0a64998a02893366700260 | [log] [tgz] |
---|---|---|
author | Alex Converse <aconverse@google.com> | Wed Mar 22 18:08:55 2017 -0700 |
committer | Alex Converse <aconverse@google.com> | Thu Mar 23 19:08:20 2017 +0000 |
tree | 05e88486435caf18b654021a544f4f9b13359172 | |
parent | fa16041c4061944eb74ecb91cab93ac5ced8a91d [diff] |
configure: use -Wundef for C sources Change-Id: I1cc0d4b54263264fd1ffffb4cf33833ea841acde
diff --git a/configure b/configure index 2f490f7..e0e2371 100755 --- a/configure +++ b/configure
@@ -691,6 +691,8 @@ if enabled mips || [ -z "${INLINE}" ]; then enabled extra_warnings || check_add_cflags -Wno-unused-function fi + # gtest makes heavy use of undefined pre-processor symbols + check_cflags "-Wundef" && add_cflags_only "-Wundef" fi if enabled icc; then