summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-05-01 14:51:10 +0000
committerRoy Marples <roy@marples.name>2016-05-01 14:51:10 +0000
commitc50bfba5ab2fc65c9a8b44c138a2603d60fdfe83 (patch)
tree2727472e82573d6bfdc631e055b8c1638e47a645 /configure
parent88fad60c6136e89de75705d812cb7f52cbf9938d (diff)
downloaddhcpcd-c50bfba5ab2fc65c9a8b44c138a2603d60fdfe83.tar.xz
Fix compile on sunos again.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index fc7b76c2..eaa6db2b 100755
--- a/configure
+++ b/configure
@@ -347,8 +347,9 @@ 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*|sunos*) echo "CFLAGS+= -Wredundant-decls" >>$CONFIG_MK
;; # Bitrig spouts many conversion errors with htons
+ # sunos has many as well
*) echo "CFLAGS+= -Wredundant-decls" >>$CONFIG_MK
echo "CFLAGS+= -Wconversion" >>$CONFIG_MK
;;