[GRASSLIST:4352] Re: .gislock woes & success
John Kodis
kodis at comcast.net
Wed Aug 21 08:21:53 EDT 2002
On Wed, Aug 21, 2002 at 06:56:33AM +0100, Glynn Clements wrote:
> I don't think that it's possible to pass compiler options when running
> gmake5. However, you can set options when running configure, by
> setting various environment variables (e.g. CFLAGS, LDFLAGS), as in:
>
> CFLAGS='-O2 -g -mcpu=athlon' ./configure ...
With most automake generated makefiles these flags can be altered at
compile time as well. Just use, for example:
make CFLAGS='-O2 -g -mcpu=athlon'
-- John Kodis.
More information about the grass-user
mailing list