This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Disabling debug when building gcc
- From: lol37 lol37 <lol37cs16 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 25 Jul 2011 10:08:30 +0200
- Subject: Disabling debug when building gcc
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.