Ignore the unused label "find_rule" in the generated file "scan.c"

to fix the build.
This commit is contained in:
tron 2010-04-07 08:56:49 +00:00
parent 02634ada5c
commit 898521eb24
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.4 (Berkeley) 6/24/90
# $NetBSD: Makefile,v 1.6 2009/10/31 23:36:29 joerg Exp $
# $NetBSD: Makefile,v 1.7 2010/04/07 08:56:49 tron Exp $
#
# By default, flex will be configured to generate 8-bit scanners only if the
# -8 flag is given. If you want it to always generate 8-bit scanners, add
@ -46,6 +46,8 @@ LDADD+=-lm
DPADD+=${LIBM}
.endif
COPTS.scan.c+= -Wno-unused-label
MAN = flex.1
LINKS= ${BINDIR}/lex ${BINDIR}/flex \