re PR lto/61313 (configure incorrectly strips $target_alias from PLUGIN_LD_SUFFIX)
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 19 Nov 2015 13:31:33 +0000 (13:31 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 19 Nov 2015 13:31:33 +0000 (13:31 +0000)
PR lto/61313
* configure.ac (PLUGIN_LD_SUFFIX): Do not touch the value specified
by the user.
* configure: Regenerate.

From-SVN: r230603

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 558b789ba53d00fb0bae1aef48706ca89deb0067..faff032528b336740a0b175537f70f40ea45b057 100644 (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
index d465597bcd39f72080afbac97711cef9ce9885d0..bb5e02bec505c0710f81bde1ef11b507ce252030 100755 (executable)
@@ -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
 
index 7547e3ac130ba0e3830637461b9f43f3eefaa55a..5990b7cadebe4dd257963aeb98394f0bb98c77ba 100644 (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])