Separate CFLAGS for libgcc?

Chung-Ju Wu jasonwucj@gmail.com
Thu Mar 7 08:56:00 GMT 2013


2013/3/5 Fanael Linithien <fanael4@gmail.com>:
> Even if not for the errors, I'd still like to know how can I e.g. build
> libgcc with -Os, but other libraries (especially libstdc++) with -O2.

You can use HOST_LIBGCC2_CFLAGS in the target makefile fragments.
(i.e.  libgcc/config/TARGET/t-xxxx )


Best regards,
jasonwucj



More information about the Gcc-help mailing list