Enable parallel builds (Jim Meyering).

This commit is contained in:
Richard Jones
2009-04-30 18:59:02 +01:00
parent 0703248d23
commit 89404ec0ba
2 changed files with 6 additions and 3 deletions

View File

@@ -96,4 +96,8 @@ TESTS_ENVIRONMENT = \
t/%.class: t/%.java
$(JAVAC) $(JAVAC_FLAGS) -classpath libguestfs-$(VERSION).jar $<
endif
endif
# Tell version 3.79 and up of GNU make to not build goals in this
# directory in parallel.
.NOTPARALLEL:

View File

@@ -254,8 +254,7 @@ createrepo repo
# 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir
# not the site dir.
# Uses javac which is incompatible with parallel make.
make INSTALLDIRS=vendor
make INSTALLDIRS=vendor %{?_smp_mflags}
%check