aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/Make-lang.in
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2016-11-22 17:33:43 +0100
committerUros Bizjak <uros@gcc.gnu.org>2016-11-22 17:33:43 +0100
commitb2b0acbe2bec113381c9925cc29f26a402873350 (patch)
tree68b7d62c12196c03879cc9079ae32120afa2a61c /gcc/ada/gcc-interface/Make-lang.in
parentdba814afdab05e52f2b0809466d964daf5fb30d2 (diff)
downloadgcc-b2b0acbe2bec113381c9925cc29f26a402873350.zip
gcc-b2b0acbe2bec113381c9925cc29f26a402873350.tar.gz
gcc-b2b0acbe2bec113381c9925cc29f26a402873350.tar.bz2
Makefile.in ($(lang_checks_parallelized)): Fix detection of -j argument.
gcc/ChangeLog * Makefile.in ($(lang_checks_parallelized)): Fix detection of -j argument. gcc/ada/ChangeLog * gcc-interface/Make-lang.in (check-acats): Fix detection of -j argument. libstdc++-v3/ChangeLog * testsuite/Makefile.am (check-DEJAGNU $(check_DEJAGNU_normal_targets)): Fix detection of -j argument. * testsuite/Makefile.in: Regenereate. From-SVN: r242705
Diffstat (limited to 'gcc/ada/gcc-interface/Make-lang.in')
-rw-r--r--gcc/ada/gcc-interface/Make-lang.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/Make-lang.in b/gcc/ada/gcc-interface/Make-lang.in
index b5d1f0e..eb0489b 100644
--- a/gcc/ada/gcc-interface/Make-lang.in
+++ b/gcc/ada/gcc-interface/Make-lang.in
@@ -890,7 +890,7 @@ check-acats:
@test -d $(ACATSDIR) || mkdir -p $(ACATSDIR); \
rootme=`${PWD_COMMAND}`; export rootme; \
EXPECT=$(EXPECT); export EXPECT; \
- if [ -z "$(CHAPTERS)" ] && [ "$(filter -j, $(MFLAGS))" = "-j" ]; \
+ if [ -z "$(CHAPTERS)" ] && [ -n "$(filter -j%, $(MFLAGS))" ]; \
then \
rm -rf $(ACATSDIR)-parallel; \
mkdir $(ACATSDIR)-parallel; \