This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto-plugin, build] Don't link libiberty.a into liblto-plugin.a
> > 2010-12-11 ?Rainer Orth ?<ro@CeBiTec.Uni-Bielefeld.DE>
> >
> > ? ? ? ?* Makefile.am (liblto_plugin_la_DEPENDENCIES): Define.
> > ? ? ? ?(liblto_plugin_la_LIBADD): Use -L../libiberty/pic -liberty.
> > ? ? ? ?(liblto_plugin_la_LDFLAGS): Use -L../libiberty -liberty.
> > ? ? ? ?* Makefile.in: Regenerate.
>
> This is OK for lto-plugin. Thanks!
Note that not all platforms on which LTO can be built, will build a
PIC libiberty.