[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Extending configure.py/siputils.py to pass CPPFLAGS
From: Scott Kitterman <debian () kitterman ! com>
Date: 2012-06-23 12:21:25
Message-ID: 1784512.5W4zy1BukS () scott-latitude-e6320
[Download RAW message or body]
On Saturday, June 23, 2012 10:15:13 AM Phil Thompson wrote:
> On Sat, 23 Jun 2012 10:07:02 +0100, Andrew Suffield
>
> <asuffield@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
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic