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
This commit is contained in:
Eric Botcazou 2015-11-19 13:31:33 +00:00 committed by Eric Botcazou
parent 0f3594af7b
commit bcefc3444c
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
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

2
gcc/configure vendored
View File

@ -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

View File

@ -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])