[lto-plugin, build] Don't link libiberty.a into liblto-plugin.a

Cary Coutant ccoutant@google.com
Tue Dec 14 22:01:00 GMT 2010


>> > 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.

If there is no PIC libiberty, Rainer's patch doesn't change anything,
as far as I can see. Am I misreading it? Or are you suggesting that
should be fixed as well?

-cary



More information about the Gcc-patches mailing list