GNOME Bugzilla – Bug 543860
[modplug] Uses CFLAGS for CXXFLAGS
Last modified: 2008-07-21 10:16:40 UTC
Hi, the modplug plugin currently uses GST_CFLAGS for CXXFLAGS. As this can include warning parameters, etc which are not valid for C++ this is wrong. GST_CXXFLAGS should be used instead. -Wdeclarations-after-statements for example is not valid for C++ Attached patch fixes this.
Created attachment 114851 [details] [review] modplug-cxxflags.patch Btw, with the Sun C++ compiler this will even fail to build because of some parameter
please commit
2008-07-21 Sebastian Dröge <sebastian.droege@collabora.co.uk> * gst/modplug/libmodplug/Makefile.am: Use GST_CXXFLAGS instead of GST_CFLAGS for CXXFLAGS. GST_CFLAGS can contain compiler parameters that are invalid for C++. Fixes bug #543860.