summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc17
-rw-r--r--share/mk/bsd.sys.mk3
-rw-r--r--sys/dev/aic7xxx/aicasm/Makefile2
3 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 249cf63..a3499f3 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -940,6 +940,11 @@ _mklocale= usr.bin/mklocale
_sed= usr.bin/sed
.endif
+.if ${BOOTSTRAPPING} < 900006
+_lex= usr.bin/lex
+_yacc= usr.bin/yacc
+.endif
+
.if ${BOOTSTRAPPING} < 700018
_gensnmptree= usr.sbin/bsnmpd/gensnmptree
.endif
@@ -966,6 +971,8 @@ bootstrap-tools:
${_mklocale} \
usr.bin/rpcgen \
${_sed} \
+ ${_lex} \
+ ${_yacc} \
usr.bin/xinstall \
${_gensnmptree} \
usr.sbin/config \
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index 9a189a6..9b36663 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -47,7 +47,8 @@ CWARNFLAGS += -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch\
. endif
# BDECFLAGS
. if ${WARNS} >= 6
-CWARNFLAGS += -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
+CWARNFLAGS += -Wchar-subscripts -Winline -Wnested-externs\
+ -Wredundant-decls -Wold-style-definition
. endif
. if ${WARNS} >= 2 && ${WARNS} <= 4
# XXX Delete -Wuninitialized by default for now -- the compiler doesn't
diff --git a/sys/dev/aic7xxx/aicasm/Makefile b/sys/dev/aic7xxx/aicasm/Makefile
index 222c96a..9c73493 100644
--- a/sys/dev/aic7xxx/aicasm/Makefile
+++ b/sys/dev/aic7xxx/aicasm/Makefile
@@ -15,7 +15,7 @@ SRCS= ${GENHDRS} ${CSRCS} ${YSRCS} ${LSRCS}
CLEANFILES+= ${GENHDRS} ${YSRCS:R:C/(.*)/\1.output/g}
DPADD= ${LIBL}
LDADD= -ll
-WARNS?= 6
+WARNS?= 5
# Correct path for kernel builds
# Don't rely on the kernel's .depend file
OpenPOWER on IntegriCloud