[PyQt] Extending configure.py/siputils.py to pass CPPFLAGS

Andrew Suffield asuffield at suffields.me.uk
Sat Jun 23 10:07:02 BST 2012


On Sat, Jun 23, 2012 at 09:57:56AM +0100, Phil Thompson wrote:
> Why? Does Debian need it to be called CPPFLAGS specifically rather than
> the already supported CXXFLAGS?

I'm going to guess that you've made the common mistake. CPPFLAGS is
the preprocessor flags, not the C++ compiler flags. Hence invocations
would be:

gcc $(CFLAGS) $(CPPFLAGS)
g++ $(CXXFLAGS) $(CPPFLAGS)
cpp $(CPPFLAGS)


More information about the PyQt mailing list