[x264-devel] [PATCH] don't optimize for debug mode

Limin Wang lance.lmwang at gmail.com
Wed Jul 18 06:25:29 CEST 2007


Hi,

> > When I use gdb to debug the code, I'll get some unexpected result.
> > Can we turn off the optimization for the debug mode?
> 
> CFLAGS=-O0 ./configure --enable-debug

Thanks, this works. Why we can't change -O1 to -O0 directly in configure
for debug? Any reason for that?


Thanks,
Limin
_______________________________________________
x264-devel mailing list
x264-devel at videolan.org
http://mailman.videolan.org/listinfo/x264-devel


More information about the x264-devel mailing list