diff options
author | dim <dim@FreeBSD.org> | 2011-12-16 22:19:13 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-12-16 22:19:13 +0000 |
commit | 161a99dd74a17b5638f334ba77c4091689279d62 (patch) | |
tree | 60d3bd1e4097c1811d36849427ab1c814aec5e6c | |
parent | f993aa3b863809756f87bebcf680317da2ba883a (diff) | |
download | FreeBSD-src-161a99dd74a17b5638f334ba77c4091689279d62.zip FreeBSD-src-161a99dd74a17b5638f334ba77c4091689279d62.tar.gz |
Define YY_NO_INPUT when building libbinutils, to prevent warnings about
unused input() functions emitted by lex.
MFC after: 1 week
-rw-r--r-- | gnu/usr.bin/binutils/libbinutils/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/libbinutils/Makefile b/gnu/usr.bin/binutils/libbinutils/Makefile index d89f8b0..d6518a5 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= |