Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/flex/bin Ignore the unused label "find_rule" in...



details:   https://anonhg.NetBSD.org/src/rev/933194b89c15
branches:  trunk
changeset: 753694:933194b89c15
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Apr 07 08:56:49 2010 +0000

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

diffstat:

 external/bsd/flex/bin/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 30f05c51839f -r 933194b89c15 external/bsd/flex/bin/Makefile
--- a/external/bsd/flex/bin/Makefile    Wed Apr 07 07:32:48 2010 +0000
+++ b/external/bsd/flex/bin/Makefile    Wed Apr 07 08:56:49 2010 +0000
@@ -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 \



Home | Main Index | Thread Index | Old Index