[oe] altering cflags for autotools
Chris Larson
clarson at kergoth.com
Fri Nov 16 22:10:18 UTC 2007
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.
--
Chris Larson - clarson at kergoth dot com
Dedicated Engineer - MontaVista - clarson at mvista dot com
Core Developer/Architect - TSLib, BitBake, OpenEmbedded, OpenZaurus
More information about the Openembedded-devel
mailing list