How to OverrideCFLAGS in Modular Builds

Dan Nicholson dbn.lists at gmail.com
Tue Aug 7 15:11:29 PDT 2007


On 8/7/07, John Klingler <john at jupiter.com> wrote:
> Is there a way to override CFLAGS in the modular build process?
> Editing Makefile doesn't work.

The configure scripts generated by autoconf will respect CFLAGS from
the environment.

$ export CFLAGS="-O2 -pipe"
$ ./configure ...

So, you should just be able to set them in the environment.

--
Dan



More information about the xorg mailing list