Commit ce32f705 authored by Alex Converse's avatar Alex Converse

configure: use -Wundef for C sources

Change-Id: I1cc0d4b54263264fd1ffffb4cf33833ea841acde
parent fa16041c
......@@ -691,6 +691,8 @@ process_toolchain() {
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment