From 1ddbd60c6154faa5255998cfcd64d3baa5d27eb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 17 Nov 2008 09:53:39 +0000 Subject: [PATCH] ext/sidplay/Makefile.am: Use GST_CXXFLAGS for C++ code instead of GST_CFLAGS. The latter could contain CFLAGS that do... Original commit message from CVS: * ext/sidplay/Makefile.am: Use GST_CXXFLAGS for C++ code instead of GST_CFLAGS. The latter could contain CFLAGS that do not exist for C++, like -Wvla or -Wdeclaration-after-statement. Fixes bug #561161. --- ChangeLog | 7 +++++++ ext/sidplay/Makefile.am | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c6a8cba75c..c2c6d7a871 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-11-17 Sebastian Dröge + + * ext/sidplay/Makefile.am: + Use GST_CXXFLAGS for C++ code instead of GST_CFLAGS. The latter could + contain CFLAGS that do not exist for C++, like -Wvla or + -Wdeclaration-after-statement. Fixes bug #561161. + 2008-11-12 Jan Schmidt * configure.ac: diff --git a/ext/sidplay/Makefile.am b/ext/sidplay/Makefile.am index 373ae59064..ff9f98aa7b 100644 --- a/ext/sidplay/Makefile.am +++ b/ext/sidplay/Makefile.am @@ -1,7 +1,7 @@ plugin_LTLIBRARIES = libgstsid.la libgstsid_la_SOURCES = gstsiddec.cc -libgstsid_la_CXXFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) $(SIDPLAY_CFLAGS) +libgstsid_la_CXXFLAGS = $(GST_CXXFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) $(SIDPLAY_CFLAGS) libgstsid_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) $(SIDPLAY_LIBS) libgstsid_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstsid_la_LIBTOOLFLAGS = --tag=disable-static