Define YY_NO_INPUT when building libbinutils, to prevent warnings about

unused input() functions emitted by lex.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-16 22:19:13 +00:00
parent 3eb9425c95
commit 6aff93296d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228601

View File

@ -25,6 +25,7 @@ SRCS+= arlex.l \
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -DYY_NO_INPUT
CFLAGS+= -I${SRCDIR}/binutils
CFLAGS+= -I${SRCDIR}/bfd
INTERNALLIB=