summaryrefslogtreecommitdiff
path: root/src/kmk/maintMakefile
diff options
context:
space:
mode:
authorFelix Geyer <debfx-pkg@fobos.de>2011-08-21 11:16:23 +0200
committerFelix Geyer <debfx-pkg@fobos.de>2011-08-21 11:16:23 +0200
commitbd9ff04c49dda0d5d1d99fb88960c1779f3229a3 (patch)
treeceb9f9f990c51a3bd1263e81091e460d66bbcb39 /src/kmk/maintMakefile
parentbeb92cf0e95b1ffa9361993d7a248dbab63741c3 (diff)
downloadkbuild-bd9ff04c49dda0d5d1d99fb88960c1779f3229a3.tar.gz
Imported Upstream version 0.1.9998svn2543upstream/0.1.9998svn2543
Diffstat (limited to 'src/kmk/maintMakefile')
-rw-r--r--src/kmk/maintMakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kmk/maintMakefile b/src/kmk/maintMakefile
index 276457f..5b27cab 100644
--- a/src/kmk/maintMakefile
+++ b/src/kmk/maintMakefile
@@ -3,7 +3,11 @@
# tree, not a dist copy.
# We like mondo-warnings!
+ifeq ($(KBUILD_TARGET),openbsd) # bird
+AM_CFLAGS += -Wall -Wshadow -Wpointer-arith -Wbad-function-cast
+else
AM_CFLAGS += -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wpointer-arith -Wbad-function-cast
+endif
# I want this one but I have to wait for the const cleanup!
# -Wwrite-strings