diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-05-07 19:59:56 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2012-05-07 19:59:56 +0000 |
commit | 6dd858eec387e8045f60824ab3cbcfe1e0da6b9e (patch) | |
tree | 46390bedbc644f144a8aba7a1be73126e13b9327 /gcc/configure | |
parent | 9c110c3d3020859229ecbacbfd139258262a7a6a (diff) |
* configure.ac (PLUGIN_LD): Rename into...
(PLUGIN_LD_SUFFIX): ...this and strip the target_alias triplet.
* config.in: Regenerate.
* configure: Likewise.
* collect2.c (main): Set plugin_ld_suffix to PLUGIN_LD_SUFFIX.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@187269 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/configure b/gcc/configure index 223f21805e0..557a4cc794d 100755 --- a/gcc/configure +++ b/gcc/configure @@ -21511,20 +21511,20 @@ fi fi ORIGINAL_PLUGIN_LD_FOR_TARGET=$gcc_cv_ld -PLUGIN_LD=`basename $gcc_cv_ld` +PLUGIN_LD_SUFFIX=`basename $gcc_cv_ld | sed -e "s,$target_alias-,,"` # Check whether --with-plugin-ld was given. 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="$withval" + PLUGIN_LD_SUFFIX=`echo $withval | sed -e "s,$target_alias-,,"` fi fi cat >>confdefs.h <<_ACEOF -#define PLUGIN_LD "$PLUGIN_LD" +#define PLUGIN_LD_SUFFIX "$PLUGIN_LD_SUFFIX" _ACEOF |