mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Disable compiler warning because of a bug in flex-2.5.31
Original commit message from CVS: Disable compiler warning because of a bug in flex-2.5.31
This commit is contained in:
parent
8bfbc81d36
commit
5706980d33
1 changed files with 5 additions and 1 deletions
|
@ -6,8 +6,12 @@ CLEANFILES = grammar.tab.h grammar.tab.c lex._gst_parse_yy.c grammar.output
|
|||
|
||||
EXTRA_DIST = grammar.y parse.l types.h
|
||||
|
||||
# flex 2.5.31 produces code that causes compilation warnings
|
||||
# (and thus errors)
|
||||
DISABLE_FLEX_WARNING = -Wno-unused-function
|
||||
|
||||
nodist_libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
|
||||
libgstparse_la_CFLAGS = $(GST_CFLAGS)
|
||||
libgstparse_la_CFLAGS = $(GST_CFLAGS) $(DISABLE_FLEX_WARNING)
|
||||
libgstparse_la_LIBADD = $(LIBGST_LIBS)
|
||||
|
||||
noinst_HEADERS = grammar.tab.h
|
||||
|
|
Loading…
Reference in a new issue