[MetaTeX] libmpost build environment

herckb at pandora.be herckb at pandora.be
Tue Aug 3 11:17:41 CEST 2004


Taco,


> Would you by any chance know how to disable -O2 in that case?
>
> I don't like optimization during debugging because it confuses 
> gdb and slows down compilation. Forcing CFLAGS is the only way 
> to make sure that -O2 doesn't appear in the compile command 

The trick to do this is very simple : 
in the configure.in file add following line :

CFLAGS=""

Now there is no -02 flag present anymore and now it is possible to set 
AM_CFLAGS iso CFLAGS in Makefile.am


Regards,
Bart





More information about the Metatex mailing list