[lto][patch] Use @args when calling lto-wrapper

Ian Lance Taylor iant@google.com
Thu Feb 5 07:06:00 GMT 2009


Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:

> * Rafael Espindola wrote on Wed, Feb 04, 2009 at 09:23:50PM CET:
>> --- a/lto-plugin/Makefile.am
>> +++ b/lto-plugin/Makefile.am
>> @@ -17,4 +17,4 @@ ltosymtab_CFLAGS = $(AM_CFLAGS)
>>  libexecsub_LTLIBRARIES = liblto_plugin.la
>>  
>>  liblto_plugin_la_SOURCES = lto-plugin.c $(top_srcdir)/../gcc/lto/common.c
>> -liblto_plugin_la_LIBADD = -lelf
>> +liblto_plugin_la_LIBADD = -lelf -liberty -L../libiberty/pic
>
> That ordering looks wrong, if -liberty is to be found in
> ../libiberty/pic.

It looks odd but it doesn't matter--all -L options apply to all -l
options.

Ian



More information about the Gcc-patches mailing list