summaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2011-02-12 12:02:24 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2011-02-12 12:02:24 +0000
commitf3d533d3b5d828abef210862e9644b8ddf96c75b (patch)
tree8bcfb9dcec7e48ff47e67ef09881b7425eafa407 /Makefile.def
parent9d53403cd24de4e43af117c256dabda6a8035ee7 (diff)
downloadgcc-f3d533d3b5d828abef210862e9644b8ddf96c75b.tar.gz
re PR lto/47225 (cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found")
ChangeLog: PR lto/47225 * Makefile.def (lto-plugin): Double dash for enable-shared. (configure-gcc): Depend on all-lto-plugin. * Makefile.in: Rebuilt. lto-plugin/ChangeLog: PR lto/47225 * Makefile.am (gcc_build_dir, in_gcc_libs): New. (liblto_plugin_la_LDFLAGS): Add -module. (copy_lto_plugin): Renamed to... ($(in_gcc_libs)): ... this. Add mkinstalldirs. Skip copying of static modules. * Makefile.in: Rebuild. gcc/ChangeLog: PR lto/47225 * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la in the current directory. * configure: Rebuilt. From-SVN: r170070
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.def b/Makefile.def
index 5a7a0d781e1..85b582c9944 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -146,7 +146,7 @@ host_modules= { module= libtermcap; no_check=true;
host_modules= { module= utils; no_check=true; };
host_modules= { module= gnattools; };
host_modules= { module= lto-plugin; bootstrap=true;
- extra_configure_flags=-enable-shared; };
+ extra_configure_flags=--enable-shared; };
target_modules = { module= libstdc++-v3;
bootstrap=true;
@@ -322,7 +322,7 @@ dependencies = { module=all-build-fixincludes; on=all-build-libiberty; };
// Host modules specific to gcc.
dependencies = { module=configure-gcc; on=configure-intl; };
-dependencies = { module=configure-gcc; on=configure-lto-plugin; };
+dependencies = { module=configure-gcc; on=all-lto-plugin; };
dependencies = { module=configure-gcc; on=all-binutils; };
dependencies = { module=configure-gcc; on=all-gas; };
dependencies = { module=configure-gcc; on=all-ld; };