[geos-devel] config script adds too many compiler options

Ferdinando Villa ferdinando.villa at uvm.edu
Tue Nov 9 14:11:34 EST 2004

Good point. Strk - could you please remove the @CFLAGS@ from the
--cflags line in tools/geos-config.in and commit? I'm having trouble
findin my cvs password again...


On Tue, 2004-11-09 at 14:01, Mark Coletti wrote:
> geos-config --cflags emits "-g -O2" in addition to providing the
> include directory path.  config scripts should never set these
> options.  For example, setting "-O2" can make debugging difficult as
> the optimizer may relocate or outright eliminate source code.
> Cheers,
> Mark
Ferdinando Villa, Ph.D., Associate Research Professor, Ecoinformatics
Gund Institute for Ecological Economics and Dept of Botany, Univ. of Vermont

More information about the geos-devel mailing list