summaryrefslogtreecommitdiff
path: root/gcc/treelang/Make-lang.in
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/treelang/Make-lang.in')
-rw-r--r--gcc/treelang/Make-lang.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/treelang/Make-lang.in b/gcc/treelang/Make-lang.in
index 2e31fac8c73..8f3885a2daf 100644
--- a/gcc/treelang/Make-lang.in
+++ b/gcc/treelang/Make-lang.in
@@ -67,6 +67,8 @@ TREE_EXES = tree1$(exeext)
treelang-warn = $(LOOSE_WARN) -pedantic -Wno-long-long -Wmissing-prototypes -Wmissing-declarations $(WERROR)
# bison emits some unused static arrays (yytoknum)
treelang/parse.o-warn = -Wno-error
+# flex produces 'no previous prototype' warnings
+treelang/lex.o-warn = -Wno-error
#
# Define the names for selecting treelang in LANGUAGES.