aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
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 /gcc/configure
parent9d53403cd24de4e43af117c256dabda6a8035ee7 (diff)
downloadgcc-f3d533d3b5d828abef210862e9644b8ddf96c75b.zip
gcc-f3d533d3b5d828abef210862e9644b8ddf96c75b.tar.gz
gcc-f3d533d3b5d828abef210862e9644b8ddf96c75b.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")
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 'gcc/configure')
-rwxr-xr-xgcc/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure b/gcc/configure
index f38bb65..340c815 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -23125,7 +23125,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linker plugin support" >&5
$as_echo_n "checking linker plugin support... " >&6; }
gcc_cv_lto_plugin=no
-if test -f ../lto-plugin/Makefile ; then
+if test -f liblto_plugin.la; then
if test $in_tree_ld = yes -a x"$ORIGINAL_PLUGIN_LD_FOR_TARGET=" = x"$gcc_cv_ld"; then
if test x"$ld_is_gold" = xyes; then
gcc_cv_lto_plugin=yes