On Monday 12 June 2006 10:28, Ralf Corsepius wrote:
> > > Note though that
> > >   -Wall -ansi -pedantic
> > >
> > > is pretty GCC specific, and will make many other compilers barf
> > > heavily.  So if your package targets portability, it'd be nice
> > > to allow your users to override these flags (preferably by
> > > ./configure CFLAGS='...').
> >
> > How can I do this?
>
> NOTE: CFLAGS !!
>
> Not using AM_CFLAGS=-Wall -ansi -pedantic
>
> and
> ./configure CFLAGS="-Wall -ansi -pedantic"
>
> is what Ralf W. is referring to.

Ralf (Wildenhues) refers to OVERRIDING flags set if I understood him 
correctly. If rewrite my files to support only

./configure CFLAGS="-Wall -ansi -pedantic"

these flags are never set by default if only ./configure is called.


Norbert
-- 
OpenPGP public key
http://www.linuxnetworks.de/norbert.pubkey.asc

Attachment: pgp5924OffuBx.pgp
Description: PGP signature

Reply via email to