aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-02-05 13:56:27 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-02-05 13:56:27 -0400
commit69543795d6093472d171b1c04bcf92464aa60beb (patch)
tree7805ad21fb3703aaa804b28ec04963e2f0cde71d /debian/rules
parent99f29fecc64a7dde5a0eb644efe3ebfc6e1b3c36 (diff)
move -j1 setting to BUILDEROPTIONS, set in debian/rules file
I needed BUILDEROPTIONS to allow passing flags to stack build, but it also lets me move the -j1 out of the normal build path, and to debian/rules which has the goal of having a reproducible build
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 7523e2f83..b290eadcd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
export BUILDER=debian/cabal-wrapper
+# -j1 is used for reproducible build
+export BUILDEROPTIONS=-j1
+
STANDALONE_BUILD=$(shell grep -qe '^Package: git-annex-standalone' debian/control \
&& echo 1 || echo 0)