Hi,

this fixes the glitch I introduced when trying to fix another bug:
  https://gcc.gnu.org/ml/gcc-patches/2012-05/msg00330.html
The --with-plugin-ld value specified by the user is also stripped, although 
that's unnecessay to fix the original bug.  So I guess that we can leave this 
value alone, as before my patch.

Tested on x86_64-suse-linux, OK for all active branches?


2015-11-19  Eric Botcazou  <ebotca...@adacore.com>

        PR lto/61313
        * configure.ac (PLUGIN_LD_SUFFIX): Do not touch the value specified
        by the user.
        * configure: Regenerate.

-- 
Eric Botcazou
Index: configure.ac
===================================================================
--- configure.ac	(revision 230589)
+++ configure.ac	(working copy)
@@ -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])

Reply via email to