Build GCC with -Os for multi libs
Kai Ruottu
kai.ruottu@wippies.com
Tue Dec 1 14:54:00 GMT 2009
Sebastian Huber wrote:
> Hi,
>
> normally the GCC multi libs (libc, libgcc, libstdc++ for the target) are built
> with the optimization level -O2. How can I change this to -Os?
>
Either :
1. Setting things like CFLAGS in environment before writing 'configure'
Or if this is too late, already configured :
2. Editing the produced Makefile(s) before writing 'make', searching for
all the *FLAGS defined in it/them.
More information about the Gcc-help
mailing list