From bcefc3444c95cd424cbd4e5a457e194c44706978 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 19 Nov 2015 13:31:33 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/configure | 2 +- gcc/configure.ac | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 558b789ba53..faff032528b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-11-19 Eric Botcazou + + PR lto/61313 + * configure.ac (PLUGIN_LD_SUFFIX): Do not touch the value specified + by the user. + * configure: Regenerate. + 2015-11-19 Eric Botcazou PR target/68408 diff --git a/gcc/configure b/gcc/configure index d465597bcd3..bb5e02bec50 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 7547e3ac130..5990b7cadeb 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]) -- 2.30.2