[oe] altering cflags for autotools

Tobias Pflug tobias.pflug at gmx.net
Sat Nov 17 15:36:11 UTC 2007


On Fri, 2007-11-16 at 15:10 -0700, Chris Larson wrote:
> On Nov 15, 2007 1:29 PM, Tobias Pflug <tobias.pflug at gmx.net> wrote:
> > hi..
> >
> > today i've been trying to package mod_python but had some difficulties
> > because ${STAGING_INCDIR} was not included in the path thus
> > mod_include.h (staged from the apache2 package) could not be found ->
> > can't compile mod_python.
> >
> > Changing CFLAGS or EXTRA_CFLAGS has no effect. Looking at the autotools
> > class that is no surprise because it doesn't seem to be read anywhere.
> > How can I fix this? Do I have to patch the configure.in file ?
> 
> It doesn't need to be read anywhere.  It's exported, and autoconf uses
> the environment CFLAGS by default.

Alright.. I was being silly. The problem is that I need to overwrite
the values used by apxs which is used for building ..

Still, thanks for your clarification





More information about the Openembedded-devel mailing list