Skip to content

Commit 282582b

Browse files
committed
Respect DEB_BUILD_OPTIONS parallel= for parallel compilation
1 parent e9f4021 commit 282582b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

debian/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ include /usr/share/dpkg/default.mk
1818

1919
.NOTPARALLEL:
2020

21+
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
22+
MAKEFLAGS += -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
23+
endif
24+
2125
SHELL = /bin/bash
2226

2327
package = freeradius

0 commit comments

Comments
 (0)