[Lunar-commits] <moonbase> firefox: make parallel builds work
Michael 'v4hn' Goerner
v4hn at lunar-linux.org
Wed Apr 18 11:32:40 CEST 2012
commit e6b281a65c05a78a350de3456917f9c02018d47d
Author: Michael 'v4hn' Goerner <v4hn at lunar-linux.org>
Date: Wed Apr 18 11:32:40 2012 +0200
firefox: make parallel builds work
---
web/firefox/BUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/web/firefox/BUILD b/web/firefox/BUILD
index d32d5f5..c5c58d3 100644
--- a/web/firefox/BUILD
+++ b/web/firefox/BUILD
@@ -63,16 +63,20 @@
setterm -bfreq -blength &&
+ if [ -n "${MAKES}" ]; then
+ echo "mk_add_options MOZ_MAKE_FLAGS='-j${MAKES}'" >> mozconfig
+ fi &&
+
#Finally, the build!
if [ "$PGO" == "y" ] ; then
#CCache breaks the pgo build
export CCACHE_DISABLE=1 &&
echo "ac_add_options --enable-profile-guided-optimization" >> mozconfig &&
echo "mk_add_options PROFILE_GEN_SCRIPT='python $MOZ_OBJDIR/_profile/pgo/profileserver.py'" >> mozconfig &&
- make -f client.mk build ${MAKES:+-j${MAKES}} &&
- make -f client.mk profiledbuild ${MAKES:+-j${MAKES}}
+ make -f client.mk build &&
+ make -f client.mk profiledbuild
else
- make -f client.mk build ${MAKES:+-j${MAKES}}
+ make -f client.mk build
fi &&
cd ${MOZ_OBJDIR} &&
More information about the Lunar-commits
mailing list