svn commit: r229149 - stable/9/gnu/usr.bin/binutils/libbinutils

Dimitry Andric dim at FreeBSD.org
Sat Dec 31 19:58:25 UTC 2011


Author: dim
Date: Sat Dec 31 19:58:25 2011
New Revision: 229149
URL: http://svn.freebsd.org/changeset/base/229149

Log:
  MFC r228601:
  
  Define YY_NO_INPUT when building libbinutils, to prevent warnings about
  unused input() functions emitted by lex.

Modified:
  stable/9/gnu/usr.bin/binutils/libbinutils/Makefile
Directory Properties:
  stable/9/gnu/usr.bin/binutils/libbinutils/   (props changed)

Modified: stable/9/gnu/usr.bin/binutils/libbinutils/Makefile
==============================================================================
--- stable/9/gnu/usr.bin/binutils/libbinutils/Makefile	Sat Dec 31 19:56:25 2011	(r229148)
+++ stable/9/gnu/usr.bin/binutils/libbinutils/Makefile	Sat Dec 31 19:58:25 2011	(r229149)
@@ -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=


More information about the svn-src-stable-9 mailing list