summaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.own.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index d2a76d29eb0..57547fe1cfc 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.118 2012/08/14 20:14:35 matthew Exp $
+# $OpenBSD: bsd.own.mk,v 1.119 2012/08/17 17:09:43 haesbaert Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -81,10 +81,10 @@ LIBGRP?= ${BINGRP}
LIBOWN?= ${BINOWN}
LIBMODE?= ${NONBINMODE}
-DOCDIR?= /usr/share/doc
+DOCDIR?= /usr/share/doc
DOCGRP?= bin
DOCOWN?= root
-DOCMODE?= ${NONBINMODE}
+DOCMODE?= ${NONBINMODE}
LKMDIR?= /usr/lkm
LKMGRP?= ${BINGRP}
@@ -101,6 +101,12 @@ LOCALEGRP?= wheel
LOCALEOWN?= root
LOCALEMODE?= ${NONBINMODE}
+.if !defined(CDIAGFLAGS)
+CDIAGFLAGS= -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes
+CDIAGFLAGS+= -Wmissing-prototypes -Wunused -Wsign-compare -Wbounded
+CDIAGFLAGS+= -Wshadow
+.endif
+
# Shared files for system gnu configure, not used yet
GNUSYSTEM_AUX_DIR?=${BSDSRCDIR}/share/gnu