From 898521eb242ca68b813c20cfe41ca8297f090324 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 7 Apr 2010 08:56:49 +0000 Subject: [PATCH] Ignore the unused label "find_rule" in the generated file "scan.c" to fix the build. --- external/bsd/flex/bin/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/external/bsd/flex/bin/Makefile b/external/bsd/flex/bin/Makefile index e38aa1bcde5e..580871d067e9 100644 --- a/external/bsd/flex/bin/Makefile +++ b/external/bsd/flex/bin/Makefile @@ -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 \