summaryrefslogtreecommitdiffstats
path: root/usr.bin/lex
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-02 10:27:05 +0000
committered <ed@FreeBSD.org>2010-01-02 10:27:05 +0000
commit9b380e30d4e06cf0243e311871dc27cfa4a6354a (patch)
tree756926e3b5383e94680dcfd7df8fd002f56e1dd7 /usr.bin/lex
parent14b790b0cfcd233769de066dd78e637bf80713dc (diff)
downloadFreeBSD-src-9b380e30d4e06cf0243e311871dc27cfa4a6354a.zip
FreeBSD-src-9b380e30d4e06cf0243e311871dc27cfa4a6354a.tar.gz
Build usr.bin/ with WARNS=6 by default.
Also add some missing $FreeBSD$ to keep svn happy.
Diffstat (limited to 'usr.bin/lex')
-rw-r--r--usr.bin/lex/Makefile2
-rw-r--r--usr.bin/lex/lib/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/lex/Makefile b/usr.bin/lex/Makefile
index 6d0ea5b..e16568f 100644
--- a/usr.bin/lex/Makefile
+++ b/usr.bin/lex/Makefile
@@ -24,6 +24,8 @@ MLINKS+= lex.1 flex.1
MLINKS+= lex.1 flex++.1
MLINKS+= lex.1 lex++.1
+WARNS?= 2
+
CLEANFILES= scan.c skel.c
SUBDIR= lib
diff --git a/usr.bin/lex/lib/Makefile b/usr.bin/lex/lib/Makefile
index dcc7518..b43d803 100644
--- a/usr.bin/lex/lib/Makefile
+++ b/usr.bin/lex/lib/Makefile
@@ -6,6 +6,8 @@ LIB= ln
SRCS= libmain.c libyywrap.c
NO_PIC=
+WARNS?= 2
+
.if ${MK_INSTALLLIB} != "no"
LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a
LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a
OpenPOWER on IntegriCloud