aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-10-13 09:15:00 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-10-13 09:15:00 +0000
commit076c7ebe9991fb9f225a7c0037649240e0c67a1f (patch)
treeb44abbf7f862b9068bb9c33051bcfa83ce9fcdc7
parente4c5bd489f1255409f168b3eca6670ce7a647d5b (diff)
downloadgcc-076c7ebe9991fb9f225a7c0037649240e0c67a1f.zip
gcc-076c7ebe9991fb9f225a7c0037649240e0c67a1f.tar.gz
gcc-076c7ebe9991fb9f225a7c0037649240e0c67a1f.tar.bz2
Makefile.am (liblto_plugin_la_LIBADD): Link against the correct libiberty.
2009-10-13 Richard Guenther <rguenther@suse.de> * Makefile.am (liblto_plugin_la_LIBADD): Link against the correct libiberty. * Makefile.in: Regenerated. From-SVN: r152698
-rw-r--r--lto-plugin/ChangeLog6
-rw-r--r--lto-plugin/Makefile.am2
-rw-r--r--lto-plugin/Makefile.in5
3 files changed, 10 insertions, 3 deletions
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog
index cabfcca..a68e3ff 100644
--- a/lto-plugin/ChangeLog
+++ b/lto-plugin/ChangeLog
@@ -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.
diff --git a/lto-plugin/Makefile.am b/lto-plugin/Makefile.am
index b5dd5fc..19fbdcd 100644
--- a/lto-plugin/Makefile.am
+++ b/lto-plugin/Makefile.am
@@ -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
diff --git a/lto-plugin/Makefile.in b/lto-plugin/Makefile.in
index 7284e4c..6ae87de 100644
--- a/lto-plugin/Makefile.in
+++ b/lto-plugin/Makefile.in
@@ -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: