Disabling debug when building gcc

lol37 lol37 lol37cs16@gmail.com
Mon Jul 25 08:08:00 GMT 2011


Hello all,
How to disable completely -g flag when building gcc, i passed
CFLAGS="-O2" and edited Makefile but all subdirectory ( libgcc,
libstdc++v3, libgomp ... ) still uses the -g flags and i cannot edit
their Makefile, they are creating while building ( configure )
Can someone help me, it will be grateful.
Sam.



More information about the Gcc-help mailing list