On Tue, Jun 14, 2011 at 2:49 PM, stef <stef.dev at free.fr> wrote:
> ? ? ? ?Hello,
>
> ? ? ? ?in order to debug more efficiently, I have to re-edit Makefiles to 
> remove
> the two -O2 options in CFLAGS and change the -g to the -ggdb option. Is there
> an easy way to get CFLAGS=-ggdb .... when configuring SANE ?
>

I've not tried this with sane-backends but its supposed to be as simple as:

./configure CFLAGS=-ggdb

configure will not default to CFLAGS="-g -O2" if you specify your own
value.  But if your getting two -O2 then something else may be adding
it as well.

Chris

Reply via email to