aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorMichael Haubenwallner <michael.haubenwallner@salomon.at>2010-11-26 10:53:24 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2010-11-26 10:53:24 +0100
commit4a150fc83a4d64ff1c3dbf723ee5c33604d2324d (patch)
treee731752c0454627b495181f1d77149b4e842411d /gcc/configure
parente99f078847a24e13a99991c6cd3ccd8f4bbaeb71 (diff)
downloadgcc-4a150fc83a4d64ff1c3dbf723ee5c33604d2324d.zip
gcc-4a150fc83a4d64ff1c3dbf723ee5c33604d2324d.tar.gz
gcc-4a150fc83a4d64ff1c3dbf723ee5c33604d2324d.tar.bz2
re PR target/33637 ("checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0")
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. From-SVN: r167172
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/configure b/gcc/configure
index ec4ba8e..ce8a676 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.