"Paulo J. Matos" <pocma...@gmail.com> writes:

> I am quite confused about the difference between the above two options
> in Makefile fragments.
>
> They both seem to be doing the same thing which is to set the options
> to build libgcc2 with.
>
> The only thing that comes to mind is that LIBGCC2_CFLAGS only applies
> to the main library and MULTILIB_EXTRA_OPTS applies to all the
> specially' build libgcc2 that go into MULTILIB_DIRNAMES.

LIBGCC2_CFLAGS applies only to libgcc (all multilib versions of libgcc).

MULTILIB_EXTRA_OPTS applies to all target libraries (libstdc++, libjava,
libgo, etc.).

Ian

Reply via email to