From 09818ac28e064437e7ab61eb0cd30245d17d27ea Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 2 Jan 2010 09:58:07 +0000 Subject: Build lib/ with WARNS=6 by default. Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway. --- lib/libedit/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libedit') diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile index ece6032..97c1f92 100644 --- a/lib/libedit/Makefile +++ b/lib/libedit/Makefile @@ -35,6 +35,8 @@ CFLAGS+= -I. -I${.CURDIR} CFLAGS+= #-DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH CFLAGS+= #-DDEBUG_PASTE -DDEBUG_EDIT +WARNS?= 1 + AHDR= vi.h emacs.h common.h ASRC= ${.CURDIR}/vi.c ${.CURDIR}/emacs.c ${.CURDIR}/common.c -- cgit v1.1