aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2015-11-19 13:31:33 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2015-11-19 13:31:33 +0000
commitbcefc3444c95cd424cbd4e5a457e194c44706978 (patch)
treec63619e3e8e6b286930c8552cc8db4d22be35e22
parent0f3594af7bb3467c5ecb49a3271f562e2bfe1649 (diff)
downloadgcc-bcefc3444c95cd424cbd4e5a457e194c44706978.zip
gcc-bcefc3444c95cd424cbd4e5a457e194c44706978.tar.gz
gcc-bcefc3444c95cd424cbd4e5a457e194c44706978.tar.bz2
re PR lto/61313 (configure incorrectly strips $target_alias from PLUGIN_LD_SUFFIX)
PR lto/61313 * configure.ac (PLUGIN_LD_SUFFIX): Do not touch the value specified by the user. * configure: Regenerate. From-SVN: r230603
-rw-r--r--gcc/ChangeLog7
-rwxr-xr-xgcc/configure2
-rw-r--r--gcc/configure.ac2
3 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 558b789..faff032 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
2015-11-19 Eric Botcazou <ebotcazou@adacore.com>
+ PR lto/61313
+ * configure.ac (PLUGIN_LD_SUFFIX): Do not touch the value specified
+ by the user.
+ * configure: Regenerate.
+
+2015-11-19 Eric Botcazou <ebotcazou@adacore.com>
+
PR target/68408
* config/sparc/sp-elf.h (CTORS_SECTION_ASM_OP): Undefine.
(DTORS_SECTION_ASM_OP): Likewise.
diff --git a/gcc/configure b/gcc/configure
index d465597..bb5e02b 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -22012,7 +22012,7 @@ fi
if test "${with_plugin_ld+set}" = set; then :
withval=$with_plugin_ld; if test x"$withval" != x; then
ORIGINAL_PLUGIN_LD_FOR_TARGET="$withval"
- PLUGIN_LD_SUFFIX=`echo $withval | sed -e "s,$target_alias-,,"`
+ PLUGIN_LD_SUFFIX="$withval"
fi
fi
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 7547e3a..5990b7c 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2246,7 +2246,7 @@ AC_ARG_WITH(plugin-ld,
[AS_HELP_STRING([[--with-plugin-ld=[ARG]]], [specify the plugin linker])],
[if test x"$withval" != x; then
ORIGINAL_PLUGIN_LD_FOR_TARGET="$withval"
- PLUGIN_LD_SUFFIX=`echo $withval | sed -e "s,$target_alias-,,"`
+ PLUGIN_LD_SUFFIX="$withval"
fi])
AC_SUBST(ORIGINAL_PLUGIN_LD_FOR_TARGET)
AC_DEFINE_UNQUOTED(PLUGIN_LD_SUFFIX, "$PLUGIN_LD_SUFFIX", [Specify plugin linker])