Source: amule Version: 2.4.0~git20151120.0023527bc2-1 Severity: wishlist Tags: patch
Hi, amule seems to build fine with multiple build jobs when building. Thus, my suggestion is to enable the parallel build (reading the number of jobs from DEB_BUILD_OPTIONS, and adding it to the make invocation) to speed up the build when requested (see also Policy ยง4.9.1). Thanks, -- Pino
--- a/debian/rules +++ b/debian/rules @@ -43,6 +43,14 @@ CPPFLAGS_DEF += -DASIO_SOCKETS=1 ### +# Build flags + +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NJOBS := -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +endif + +### + configure: ./autogen.sh @@ -69,7 +77,7 @@ build-stamp: $(objdir)/config.status dh_testdir cd $(objdir) && \ - $(MAKE) BFD_LIB= BFD_FLAGS= + $(MAKE) $(NJOBS) BFD_LIB= BFD_FLAGS= touch $@