]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Support optional debian parallel builds
authorTravis Cross <tc@traviscross.com>
Thu, 25 Dec 2014 06:42:14 +0000 (06:42 +0000)
committerTravis Cross <tc@traviscross.com>
Thu, 25 Dec 2014 07:13:17 +0000 (07:13 +0000)
commitd88bae1a62d44ef5e64b00c3fe6aad03d8f9faee
treeeeee5e0dc859b1598c4ebf1bbe7a41e09f2f346a
parent430433a6d702a9832a019c6c33a11db5957cd957
Support optional debian parallel builds

With this commit we allow getting `make -jN` behavior by setting
`parallel=N` in `DEB_BUILD_OPTIONS`.  Setting `parallel=` will result
in `make -j` being run (i.e. no limit on the number of jobs).  The
default is to run one job at a time; this is still the safest bet when
building all modules.

Thanks to Peter Wu for suggesting a different way to do this.

ref: https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
debian/rules