Make sure generated code doesn't run with -Werror
authorBenjamin Otte <otte@redhat.com>
Wed, 3 Mar 2010 09:00:41 +0000 (10:00 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 10 Mar 2010 18:27:09 +0000 (19:27 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=611692

gst/parse/Makefile.am

index 643b19c..c4323e1 100644 (file)
@@ -14,7 +14,8 @@ EXTRA_DIST = \
 nodist_libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
 CLEANFILES += grammar.tab.c lex._gst_parse_yy.c
 
-libgstparse_la_CFLAGS = $(GST_ALL_CFLAGS)
+# can't use GST_ALL_CFLAGS here because that'd pull in -Werror
+libgstparse_la_CFLAGS = $(GLIB_CFLAGS) $(XML_CFLAGS) $(GST_OPTION_CFLAGS)
 libgstparse_la_LIBADD = $(GST_ALL_LIBS)
 
 noinst_HEADERS = grammar.tab.h types.h