aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-12-16 22:19:13 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-12-16 22:19:13 +0000
commit6aff93296ddb4c5b7b370dd8c1e0637d3cc8ac25 (patch)
tree60d3bd1e4097c1811d36849427ab1c814aec5e6c /gnu
parent3eb9425c9590f901311c3f61301f2f3122e773e4 (diff)
downloadsrc-6aff93296ddb4c5b7b370dd8c1e0637d3cc8ac25.tar.gz
src-6aff93296ddb4c5b7b370dd8c1e0637d3cc8ac25.zip
Define YY_NO_INPUT when building libbinutils, to prevent warnings about
unused input() functions emitted by lex. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=228601
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/libbinutils/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/libbinutils/Makefile b/gnu/usr.bin/binutils/libbinutils/Makefile
index d89f8b003a3d..d6518a55be6c 100644
--- a/gnu/usr.bin/binutils/libbinutils/Makefile
+++ b/gnu/usr.bin/binutils/libbinutils/Makefile
@@ -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=