[PyQt] Extending configure.py/siputils.py to pass CPPFLAGS
Scott Kitterman
debian at kitterman.com
Sat Jun 23 13:21:25 BST 2012
On Saturday, June 23, 2012 10:15:13 AM Phil Thompson wrote:
> 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.
It can. I thought it would be more correct to extend configure, but if you'd
rather not I can just CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}". That's why I sent
you the patch for review before applying it to Debian.
Scott K
More information about the PyQt
mailing list