On Tue, 06 Dec 2011, Stuart Henderson wrote:

> On 2011/12/06 13:23, David Coppa wrote:
> > Try to add the chunk below to Makefile:
> > 
> > .ifdef DEBUG
> > CONFIGURE_ARGS += --disable-optimized --enable-debug-symbols
> > .endif
> > 
> > Ciao,
> > David
> 
> This is only with the cmake build, not the autoconf one ..

Ops! You're right.

Maybe this has a chance to work:

.ifdef DEBUG
CONFIGURE_ARGS += -DLLVM_ENABLE_ASSERTIONS:Bool=True 
-DCMAKE_BUILD_TYPE:String=Debug
.endif

...After actually looking at the code, you know :)

cheers,
David

Reply via email to