[Solved] How to compile latest version of reaver with CFLAGS?

Hi guys,
I need to compile latest reaver with some CFLAGS how can I do that?

CFLAGS="-O0 -g3" ./configure && make


Ok so I found Compile packages with debugging info but after compiling package size is the same so this option does not enable debugging addons ?
Also I tried adding CFLAGS:=-O0 -g3 to Makefile but that did not work also.
There is CFLAGS in rules.mk so I will try that if you do not have better idea or know how

Ok if anyone else need it here it is

"Advanced configuration"->"Target Options" and that change

-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc


-O0 -g3 -pipe -mno-branch-likely -mips32r2 -mtune=24kc