On Tue, 1 Feb 2005, Brad Cavanagh wrote:
> During my build today I noticed that CCDPACK was being compiled with the -g
> flag. Went back and checked some random logs and found AST, NDF, and PSX were
> as well, so I'm assuming everything else is as well. Is the debugging flag
> turned on by default for some reason? I don't have a config.site file, nor
> have I set any environment variables to change compiler flags.
Hi Brad,
having -g switched on is just the default mode for AC_PROG_CC and
AC_PROG_FC. For GNU compilers they also add -O2. if you want other flags
you need to set CFLAGS and FCFLAGS explicitly.
Cheers,
Peter.
|