[wplug] GCC opts? How to pass through ./configure?

billings at negate.org billings at negate.org
Thu Jun 12 15:07:45 EDT 2003


On Thu, 2003-06-12 at 14:56, Eric C. Cooper wrote:
> On Thu, Jun 12, 2003 at 03:52:18PM -0400, John Strange wrote:
> > Does anyone know how to pass the -03 -mcpu=pentium3 args through a
> > ./configure script?  I'm not a Makefile expert, and the ones created
> > from ./configure are pretty thorough so I was hoping someone had some
> > experience with it.
> 
> ./configure and its resulting Makefile will both use the CFLAGS
> environment variable if set:
> 
> $ CFLAGS='-03 -mcpu=pentium3' ./configure
> 
> or
> 
> $ CFLAGS='-03 -mcpu=pentium3' make

This is shell-dependant, that works for bash, but not all of us use
bash.

you can typically do:

make CFLAGS='-03 -mcpu=pentium3'

too.

-- 
Jonathan S Billings <billings at negate.org>
TSFNKP



More information about the wplug mailing list