[PyQt] Extending configure.py/siputils.py to pass CPPFLAGS
Phil Thompson
phil at riverbankcomputing.com
Sat Jun 23 10:15:13 BST 2012
On Sat, 23 Jun 2012 10:07:02 +0100, Andrew Suffield
<asuffield at suffields.me.uk> wrote:
> 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)
Good guess :)
However the point remains that it can be achieved with existing
functionality.
Phil
More information about the PyQt
mailing list