diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-26 09:53:24 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-26 09:53:24 +0000 |
commit | f3599371eb5580c1a1112b1d72fbeada7c5f3594 (patch) | |
tree | e731752c0454627b495181f1d77149b4e842411d /gcc/configure | |
parent | 22268f3882eb9b7bbf2cc2b5f2e9bd06e82bc98f (diff) | |
download | gcc-f3599371eb5580c1a1112b1d72fbeada7c5f3594.tar.gz |
PR target/33637
* configure.ac: Accept extra arguments for AS_FOR_TARGET,
LD_FOR_TARGET, NM_FOR_TARGET, OBJDUMP_FOR_TARGET.
* configure: Regenerated.
* exec-tool.in: Not quoting command, may have extra arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167172 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/configure b/gcc/configure index ec4ba8e7fdd..ce8a6762fa6 100755 --- a/gcc/configure +++ b/gcc/configure @@ -20673,7 +20673,7 @@ elif test -f $gcc_cv_as_gas_srcdir/configure.in \ elif test -x as$build_exeext; then # Build using assembler in the current directory. gcc_cv_as=./as$build_exeext -elif test -x $AS_FOR_TARGET; then +elif ( set dummy $AS_FOR_TARGET; test -x $2 ); then gcc_cv_as="$AS_FOR_TARGET" else # Extract the first word of "$AS_FOR_TARGET", so it can be a program name with args. @@ -20794,7 +20794,7 @@ elif test -f $gcc_cv_ld_gld_srcdir/configure.in \ elif test -x collect-ld$build_exeext; then # Build using linker in the current directory. gcc_cv_ld=./collect-ld$build_exeext -elif test -x $LD_FOR_TARGET; then +elif ( set dummy $LD_FOR_TARGET; test -x $2 ); then gcc_cv_ld="$LD_FOR_TARGET" else # Extract the first word of "$LD_FOR_TARGET", so it can be a program name with args. @@ -20921,7 +20921,7 @@ if test -f $gcc_cv_binutils_srcdir/configure.in \ gcc_cv_nm=../binutils/nm-new$build_exeext elif test -x nm$build_exeext; then gcc_cv_nm=./nm$build_exeext -elif test -x $NM_FOR_TARGET; then +elif ( set dummy $NM_FOR_TARGET; test -x $2 ); then gcc_cv_nm="$NM_FOR_TARGET" else # Extract the first word of "$NM_FOR_TARGET", so it can be a program name with args. @@ -21001,7 +21001,7 @@ if test -f $gcc_cv_binutils_srcdir/configure.in \ gcc_cv_objdump=../binutils/objdump$build_exeext elif test -x objdump$build_exeext; then gcc_cv_objdump=./objdump$build_exeext -elif test -x $OBJDUMP_FOR_TARGET; then +elif ( set dummy $OBJDUMP_FOR_TARGET; test -x $2 ); then gcc_cv_objdump="$OBJDUMP_FOR_TARGET" else # Extract the first word of "$OBJDUMP_FOR_TARGET", so it can be a program name with args. |