This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Separate CFLAGS for libgcc?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]