mk_add_options MOZ_CO_PROJECT
=browser
mk_add_options MOZ_MAKE_FLAGS
=
"-j1"
#mk_add_options MOZ_PACKAGE_NSIS=1
ac_add_options
--enable
-application
=browser
ac_add_options
--enable
-optimize
ac_add_options
--disable
-debug
ac_add_options
--disable
-tests
ac_add_options
--disable
-webgl
以前一直編譯不成功,報以下錯誤:
/c
/src
/mozilla22
/browser
/build.mk
:
12
:
*
*
* You are using GNU make to build Firefo
x with
-jN on Windows. This will randomly deadlock. To compile a parallel build
on Windows run
"python -OO build/pymake/make.py -f client.mk build". See https
:
/
/developer.mozilla.org
/en
/pymake
for more details.. Stop.
是由於多核瀏覽器形成死鎖,將編譯參數設置成
mk_add_options MOZ_MAKE_FLAGS
=
"-j1"
就能夠了
參考:
- http://www.cnblogs.com/jianghust/archive/2010/06/14/1758234.html
- https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions?redirectlocale=en-US&redirectslug=Build_Documentation