summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-10-11 18:02:41 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2010-10-11 18:02:41 +0000
commit9dd57a6ef8f9b4f1c88534805363665c31f98dd9 (patch)
treec80a97de5ddf76aa21f672accd84e3e75f850c6b /gcc/Makefile.in
parente4590d63883aeb3b9dd06712f38d6ae4096b0b8a (diff)
downloadgcc-9dd57a6ef8f9b4f1c88534805363665c31f98dd9.tar.gz
Fix quoting for RUNTESTFLAGS in gcc/.
gcc/: * Makefile.in ($(lang_checks_parallel)) ($(lang_checks_parallelized)): Use single quotes for $(RUNTESTFLAGS), to allow passing quoted content. From-SVN: r165323
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 84057890dce..0dc8214947e 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -4890,7 +4890,7 @@ $(lang_checks_parallel): site.exp
variant=`echo "$@" | sed 's,^[^/]*//,,'`; \
vardots=`echo "$$variant" | sed 's,/,.,g'`; \
$(MAKE) TESTSUITEDIR="testsuite.$$vardots" \
- RUNTESTFLAGS="--target_board=$$variant $(RUNTESTFLAGS)" \
+ RUNTESTFLAGS="--target_board=$$variant "'$(RUNTESTFLAGS)' \
"$$target"
TESTSUITEDIR = testsuite
@@ -4949,9 +4949,9 @@ check_p_subdirs=$(wordlist 1,$(words $(check_$*_parallelize)),$(check_p_numbers)
# to lang_checks_parallelized variable and define check_$lang_parallelize
# variable (see above check_gcc_parallelize description).
$(lang_checks_parallelized): check-% : site.exp
- @if [ -z "$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
+ @if [ -z '$(filter-out --target_board=%, $(RUNTESTFLAGS))' ] \
&& [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \
- $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS="$(RUNTESTFLAGS)" \
+ $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS='$(RUNTESTFLAGS)' \
check-parallel-$* \
$(patsubst %,check-parallel-$*_%, $(check_p_subdirs)); \
for file in $(TESTSUITEDIR)/$*/$* \
@@ -4968,7 +4968,7 @@ $(lang_checks_parallelized): check-% : site.exp
$(patsubst %,$(TESTSUITEDIR)/$*%/$*.log.sep,$(check_p_subdirs)) \
> $(TESTSUITEDIR)/$*/$*.log; \
else \
- $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS="$(RUNTESTFLAGS)" \
+ $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS='$(RUNTESTFLAGS)' \
check_$*_parallelize= check-parallel-$*; \
fi