Module Name:    src
Committed By:   tron
Date:           Wed Apr  7 08:56:50 UTC 2010

Modified Files:
        src/external/bsd/flex/bin: Makefile

Log Message:
Ignore the unused label "find_rule" in the generated file "scan.c"
to fix the build.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/flex/bin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/flex/bin/Makefile
diff -u src/external/bsd/flex/bin/Makefile:1.6 src/external/bsd/flex/bin/Makefile:1.7
--- src/external/bsd/flex/bin/Makefile:1.6	Sat Oct 31 23:36:29 2009
+++ src/external/bsd/flex/bin/Makefile	Wed Apr  7 08:56:49 2010
@@ -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 @@
 DPADD+=${LIBM}
 .endif
 
+COPTS.scan.c+=	-Wno-unused-label
+
 MAN = flex.1
 
 LINKS=	${BINDIR}/lex ${BINDIR}/flex \

Reply via email to