GNOME Bugzilla – Bug 113607
[build] CXXFLAGS vs. CPPFLAGS
Last modified: 2004-12-22 21:47:04 UTC
I think a bug is the easiest way to do this. My build in HEAD/CVS doesn't work for the c++ plugins. Reason is Brian Cameron's recent changes that move libbla_la_CXXFLAGS to libbla_la_CPPFLAGS, which causes the build to fail on my system. The FLAGS are just not being set, so I don't have any -I.... lines during compilation, so it fails. Changing it back to CXXFLAGS makes it work. Examples of where this applies is the monkeyaudio plugin and modplug. My system: automake-1.6.3 autoconf-2.54c gcc-2.96 We could add dual lines in each c++ plugin Makefile.am: libbla_la_CPPFLAGS = ... libbla_la_CXXFLAGS = $(libbla_la_CPPFLAGS) But that's rather ugly. Anyone got a good solution here?
I like the ugly solution (with a comment). It allows me to continue using my old libtool. :)
Created attachment 16969 [details] [review] well, it looks like this... Other plugins might need this too (avifile, ...)
The old libtool was not changed for that reason. It was changed because only the new one properly compiles c++ plugins. FYI: That were my changes not Brians.
I checked my fixes in. Sue me. ;).