diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-09-14 19:50:07 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-09-14 19:50:07 +0000 |
commit | 98fa04efedc41a02293dd9fe6434f33870a16974 (patch) | |
tree | fac73ff929bc91dbe44b618d62733c9512d85c71 /lib | |
parent | 587e285e97a0baf6e0a46c7b5eb04a697320d87d (diff) | |
download | src-98fa04efedc41a02293dd9fe6434f33870a16974.tar.gz src-98fa04efedc41a02293dd9fe6434f33870a16974.zip |
libedit: raise the warning level to 3.
NetBSD has the warning level to 5 but that actually triggers -Wcast-qual.
Notes
Notes:
svn path=/head/; revision=323598
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libedit/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile index 81ba64712fec..a11d89d81323 100644 --- a/lib/libedit/Makefile +++ b/lib/libedit/Makefile @@ -7,6 +7,8 @@ LIB= edit SHLIB_MAJOR= 7 SHLIBDIR?= /lib +WARNS?= 3 + OSRCS= chared.c common.c el.c eln.c emacs.c fcns.c filecomplete.c help.c \ hist.c keymacro.c map.c chartype.c \ parse.c prompt.c read.c refresh.c search.c sig.c terminal.c tty.c vi.c @@ -41,8 +43,6 @@ CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/edit -DWIDECHAR #CFLAGS+= -DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH #CFLAGS+= -DDEBUG_PASTE -DDEBUG_EDIT -WARNS?= 1 - SUBDIR= edit/readline AHDR= vi.h emacs.h common.h |