summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2015-09-12 13:14:27 +0000
committerRoy Marples <roy@marples.name>2015-09-12 13:14:27 +0000
commit5cd73faeab6fb6533b2eb0dfdabf996e9d2da348 (patch)
tree2c9e9c85796e9b3b3793537de9b93e39486f39c4 /configure
parentf800a7692af9446e039e935f44d6c0f48ede6e90 (diff)
downloaddhcpcd-5cd73faeab6fb6533b2eb0dfdabf996e9d2da348.tar.xz
Fix compile on Bitrig
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 0c8513e0..a72db2ae 100755
--- a/configure
+++ b/configure
@@ -336,6 +336,8 @@ CFLAGS+= -Wpointer-sign -Wmissing-noreturn
EOF
case "$OS" in
mirbsd*|openbsd*);; # OpenBSD has many redundant decs in system headers
+ bitrig*) echo "CFLAGS+= -Wredundant-decls" >>$CONFIG_MK
+ ;; # Bitrig spouts many conversion errors with htons
*) echo "CFLAGS+= -Wredundant-decls" >>$CONFIG_MK
echo "CFLAGS+= -Wconversion" >>$CONFIG_MK
;;