[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...

thanks,
ferdinando

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
http://ecoinformatics.uvm.edu




More information about the geos-devel mailing list