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

From-SVN: r230605

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 13fc083771960d82608b1f83acbcae86e87c3b93..5f98cb5a3d380dcf5adbab26547339be08eb0b9d 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 df63aa5695492222a80dd352a5fcf61b38e1525f..f051b2b382dcc33e0318cd8ce784272afd3132ff 100755 (executable)
@@ -21552,7 +21552,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 8488c2d5ab2e6cbbd905e7570b0f4791f13451b3..0e9bf7e6dff708ff287aac76b33666e47f613203 100644 (file)
@@ -2098,7 +2098,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])