summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2014-03-27 22:14:52 +0000
committerRoy Marples <roy@marples.name>2014-03-27 22:14:52 +0000
commit34457fe661b5d33b5b5ccc0ca2b4b6dd517ef98e (patch)
tree343bd9a0da3bc73ece27fb12c7d0ccd294485cb4 /configure
parent026bfbf02468d79ba5b9c4273604c9322c275bf8 (diff)
downloaddhcpcd-34457fe661b5d33b5b5ccc0ca2b4b6dd517ef98e.tar.xz
Add -Wconversion to debug CFLAGS and fix fallout.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index ceb291df..7e5bc37a 100755
--- a/configure
+++ b/configure
@@ -334,9 +334,10 @@ CFLAGS+= -Wnested-externs
CFLAGS+= -Winline -Wwrite-strings -Wcast-align -Wcast-qual
CFLAGS+= -Wpointer-arith -Wstrict-overflow
CFLAGS+= -Wdeclaration-after-statement
+CFLAGS+= -Wconversion
EOF
case "$OS" in
- openbsd*) ;; # OpenBSD has many redundant decs in system headers
+ mirbsd*|openbsd*);; # OpenBSD has many redundant decs in system headers
*) echo "CFLAGS+= -Wredundant-decls" >>$CONFIG_MK;;
esac
fi