OSDN Git Service

2009-10-13 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Oct 2009 09:15:00 +0000 (09:15 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Oct 2009 09:15:00 +0000 (09:15 +0000)
* Makefile.am (liblto_plugin_la_LIBADD): Link against the
correct libiberty.
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152698 138bc75d-0d04-0410-961f-82ee72b054a4

lto-plugin/ChangeLog
lto-plugin/Makefile.am
lto-plugin/Makefile.in

index cabfcca..a68e3ff 100644 (file)
@@ -1,3 +1,9 @@
+2009-10-13  Richard Guenther  <rguenther@suse.de>
+
+       * Makefile.am (liblto_plugin_la_LIBADD): Link against the
+       correct libiberty.
+       * Makefile.in: Regenerated.
+
 2009-10-08  Rafael Avila de Espindola  <espindola@google.com>
 
        * lto-plugin.c (add_input_library): New.
index b5dd5fc..19fbdcd 100644 (file)
@@ -16,4 +16,4 @@ AM_CFLAGS = -Wall -Werror
 libexecsub_LTLIBRARIES = liblto_plugin.la
 
 liblto_plugin_la_SOURCES = lto-plugin.c
-liblto_plugin_la_LIBADD = $(LIBELFLIBS) -L../libiberty/pic -liberty
+liblto_plugin_la_LIBADD = $(LIBELFLIBS) ../libiberty/pic/libiberty.a
index 7284e4c..6ae87de 100644 (file)
@@ -82,7 +82,8 @@ am__base_list = \
 am__installdirs = "$(DESTDIR)$(libexecsubdir)"
 LTLIBRARIES = $(libexecsub_LTLIBRARIES)
 am__DEPENDENCIES_1 =
-liblto_plugin_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
+liblto_plugin_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+       ../libiberty/pic/libiberty.a
 am_liblto_plugin_la_OBJECTS = lto-plugin.lo
 liblto_plugin_la_OBJECTS = $(am_liblto_plugin_la_OBJECTS)
 DEFAULT_INCLUDES = -I.@am__isrc@
@@ -240,7 +241,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/../include $(LIBELFINC)
 AM_CFLAGS = -Wall -Werror
 libexecsub_LTLIBRARIES = liblto_plugin.la
 liblto_plugin_la_SOURCES = lto-plugin.c
-liblto_plugin_la_LIBADD = $(LIBELFLIBS) -L../libiberty/pic -liberty
+liblto_plugin_la_LIBADD = $(LIBELFLIBS) ../libiberty/pic/libiberty.a
 all: all-am
 
 .SUFFIXES: