[x11] Re: How to OverrideCFLAGS in Modular Builds
john at jupiter.com
Tue Sep 18 11:30:14 PDT 2007
Dan Nicholson wrote:
>Hmm, it should work like I described. I've built hundreds of packages
>in that manner. When you run ./configure (an autoconf generated
>configure, anyway), it should prefer CFLAGS from the environment and
>propagate them to the generated Makefiles.
configure picks up the CFLAGS from the environment OK but gets a compile
error on conftest.c,
which is generated. This may be why it reverts to the default CFLAGS
definition. I tried editing
configure to get around this but that screwed the pooch so that
restoring the original didn't put
things back, which is why I had to go to the top and run the build
script. That fixed everything
and incorporated the CFLAGS definition. Still, it make me queasy poking
around in the dark
>> <>It's a wiki, so if you find it to be lacking, you can add information
>> there. That said, it is a little difficult to build up a fully
>> functioning Xorg installation from scratch. For some clues, you can
>> see the linuxfromscratch instructions.
>> It's a little behind the times, but it should give some clues. The
>> only part truly missing there is the external pixman library needed
>> for Xorg-7.3.
Thanks, Dan, I'll have a look, although I've already muddled my way
through and gotten my
application building and running. Since I will eventually have to write
build procedures for QA,
I will probably make some contributions at that time.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xorg