summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/locate')
-rw-r--r--usr.bin/locate/Makefile.inc2
-rw-r--r--usr.bin/locate/locate/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/locate/Makefile.inc b/usr.bin/locate/Makefile.inc
index 4817408..5ce397d 100644
--- a/usr.bin/locate/Makefile.inc
+++ b/usr.bin/locate/Makefile.inc
@@ -1,3 +1,5 @@
# $FreeBSD$
LIBEXECDIR?= /usr/libexec
+
+WARNS?= 0
diff --git a/usr.bin/locate/locate/Makefile b/usr.bin/locate/locate/Makefile
index 9a618da..a139ff2 100644
--- a/usr.bin/locate/locate/Makefile
+++ b/usr.bin/locate/locate/Makefile
@@ -7,6 +7,8 @@ CFLAGS+= -I${.CURDIR} -DMMAP # -DDEBUG (print time) -O2 (10% faster)
SCRIPTS=updatedb.sh mklocatedb.sh concatdb.sh
MAN= locate.1 locate.updatedb.8
+WARNS?= 2
+
SCRIPTSDIR= ${LIBEXECDIR}
.for script in ${SCRIPTS}
SCRIPTSNAME_${script}= locate.${script:R}
OpenPOWER on IntegriCloud