summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-11-28 12:22:28 +0000
committerRoy Marples <roy@marples.name>2019-11-28 12:22:28 +0000
commit2085cc8980607df4db0c73c51f3879fd89c0d81c (patch)
tree586d2d45f2fbe6b851ec75a7d2a1198fc6dbaf89 /configure
parente0f3e6ac1fab99d235528d07bc21d0ef7d6c4a2e (diff)
downloaddhcpcd-2085cc8980607df4db0c73c51f3879fd89c0d81c.tar.xz
build: Add -Wundef to debugging CFLAGS
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 54a9b791..99dc05f7 100755
--- a/configure
+++ b/configure
@@ -393,7 +393,7 @@ EOF
rm -rf _test.c _test
cat <<EOF >>$CONFIG_MK
-CFLAGS+= -g -Wall -Wextra
+CFLAGS+= -g -Wall -Wextra -Wundef
CFLAGS+= -Wmissing-prototypes -Wmissing-declarations
CFLAGS+= -Wmissing-format-attribute -Wnested-externs
CFLAGS+= -Winline -Wcast-align -Wcast-qual -Wpointer-arith