diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2011-02-07 08:20:56 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2011-02-07 09:20:56 +0100 |
commit | c7b5125d1f05df0ac9b545e0edf7127e8eae4f29 (patch) | |
tree | 1720c83155cfd109562b677dcf45ec9fbd4c397e /lto-plugin/Makefile.in | |
parent | 38be4072f980e8e0cefe5a0107afb1bea250b041 (diff) | |
download | gcc-c7b5125d1f05df0ac9b545e0edf7127e8eae4f29.zip gcc-c7b5125d1f05df0ac9b545e0edf7127e8eae4f29.tar.gz gcc-c7b5125d1f05df0ac9b545e0edf7127e8eae4f29.tar.bz2 |
re PR lto/47225 (cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found")
2011-02-07 Kai Tietz <kai.tietz@onevision.com>
PR lto/47225
* Makefile.am (Wl): New helper for encoding -Wl,.
(liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
* Makefile.in: Regenerated.
From-SVN: r169877
Diffstat (limited to 'lto-plugin/Makefile.in')
-rw-r--r-- | lto-plugin/Makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lto-plugin/Makefile.in b/lto-plugin/Makefile.in index 2e283f7..f1595f7 100644 --- a/lto-plugin/Makefile.in +++ b/lto-plugin/Makefile.in @@ -82,7 +82,7 @@ am__base_list = \ am__installdirs = "$(DESTDIR)$(libexecsubdir)" LTLIBRARIES = $(libexecsub_LTLIBRARIES) liblto_plugin_la_DEPENDENCIES = $(if $(wildcard \ - ../libiberty/pic/libiberty.a),../libiberty/pic/libiberty.a,) + ../libiberty/pic/libiberty.a),$(Wl)../libiberty/pic/libiberty.a,) am_liblto_plugin_la_OBJECTS = lto-plugin.lo liblto_plugin_la_OBJECTS = $(am_liblto_plugin_la_OBJECTS) liblto_plugin_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ @@ -231,10 +231,13 @@ libexecsubdir := $(libexecdir)/gcc/$(target_noncanonical)/$(gcc_version) AM_CPPFLAGS = -I$(top_srcdir)/../include $(DEFS) AM_CFLAGS = -Wall -Werror AM_LIBTOOLFLAGS = --tag=disable-static + +# This can go away when libiberty becomes a normal convenience library +Wl = -Wl, libexecsub_LTLIBRARIES = liblto_plugin.la liblto_plugin_la_SOURCES = lto-plugin.c liblto_plugin_la_LIBADD = \ - $(if $(wildcard ../libiberty/pic/libiberty.a),../libiberty/pic/libiberty.a,) + $(if $(wildcard ../libiberty/pic/libiberty.a),$(Wl)../libiberty/pic/libiberty.a,) # Note that we intentionally override the bindir supplied by ACX_LT_HOST_FLAGS liblto_plugin_la_LDFLAGS = $(lt_host_flags) -bindir $(libexecsubdir) \ |