mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
ncurses: Silence -Wunused-but-set-variable for various files.
Presumably these will be fixed upstream eventually. Differential Revision: https://reviews.freebsd.org/D40664
This commit is contained in:
parent
32c7dde816
commit
235c8f6631
|
@ -57,6 +57,8 @@ CLEANFILES= ncurses_def.h
|
|||
CFLAGS+= -I${SRCDIR}
|
||||
CFLAGS+= -I${NCURSES_DIR}/menu
|
||||
|
||||
CWARNFLAGS.fty_enum.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
|
||||
|
||||
LIBADD+= ncursesw
|
||||
|
||||
INCS= form.h
|
||||
|
|
|
@ -147,6 +147,8 @@ DBGSRCS= \
|
|||
|
||||
CLEANFILES= ${GENSRCS}
|
||||
|
||||
CWARNFLAGS.lib_set_term.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
|
||||
|
||||
.if ${MK_INSTALLLIB} != "no"
|
||||
SYMLINKS+= libncursesw.a ${LIBDIR}/libcursesw.a
|
||||
# backward compat
|
||||
|
|
|
@ -167,6 +167,9 @@ CLEANFILES= ${GENSRCS} ${GENHDRS} keys.list make_hash term.h.new \
|
|||
|
||||
CFLAGS+= -DTERMIOS
|
||||
|
||||
CWARNFLAGS.comp_parse.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
|
||||
CWARNFLAGS.read_entry.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
|
||||
|
||||
# Installed
|
||||
HEADERS= curses.h term.h termcap.h unctrl.h
|
||||
SRCHDRS= ncurses_dll.h
|
||||
|
|
Loading…
Reference in a new issue