summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2012-03-01 15:12:21 +0100
committerAntonin Kral <a.kral@bobek.cz>2012-03-01 15:12:21 +0100
commit8535a227d5cb199fe70ffbddca88bb4c5b9b4976 (patch)
tree9b21e84bfe0d928f5a9ca3c60b6fdcfec6200945
parent5ede11e5a148046c832a446991228805175bfba6 (diff)
downloadmongodb-8535a227d5cb199fe70ffbddca88bb4c5b9b4976.tar.gz
-j should be added not override the DEB_SCONS_OPTIONS
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index eac3e21..5c3fde3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
DEB_DH_INSTALLINIT_ARGS = --name=mongodb
-DEB_SCONS_OPTIONS :=
+DEB_SCONS_OPTIONS :=
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
DEB_SCONS_OPTIONS := --d=DEBUGBUILD
endif
@@ -15,7 +15,7 @@ ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
endif
ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS)))
PROCS=$(subst parallel=,,$(DEB_BUILD_OPTIONS))
- DEB_SCONS_OPTIONS := -j$(PROCS)
+ DEB_SCONS_OPTIONS += -j$(PROCS)
endif
DEB_SCONS_BUILD_TARGET = all