Barry Smith <[email protected]> writes: > I do not understand the context of this email at all. > > Are you referring to putting CFLAGS=-O3 inside a ./configure option? > If so I see help.addArgument('Compilers', '-CFLAGS=<string>', > nargs.Arg(None, None, 'Specify the C compiler options’))
If you configure with CFLAGS=-O3 --with-debugging=0, configure will test the -O flag and ultimately use -O3 -O. The latter takes precedence, so the -O3 is effectively ignored. To replace the optimization flag, one is (currently) supposed to use COPTFLAGS=-O3 --with-debugging=0. This is surprising because COPTFLAGS is not a widespread convention.
pgp19kybfiSuC.pgp
Description: PGP signature
