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
This commit is contained in:
Joey Hess 2016-02-05 13:56:27 -04:00
parent a02b46b3f5
commit 246d0d45d7
Failed to extract signature
2 changed files with 5 additions and 3 deletions

3
debian/rules vendored
View file

@ -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)