I downloaded the source from the "25.5_Atom_RelBranch" branch (as a ZIP file; actually using git would probably work just as well).
I used the 1.10 version of MozillaBuild. Moonchild indicated in a previous post that this is the correct version to use.
I used Visual Studio Express 2012. In order to correctly pass the option to build a version compatible with non-SSE2 capable CPUs, I added "-arch:SSE" to the CL environment variable. Visual Studio 2012 and above by default target the SSE2 architecture.
My .mozconfig file looks like this:
Code: Select all
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/outx86
ac_add_options --enable-optimize="-O2 -arch:SSE -GS- -fp:precise -Qfast_transcendentals -Qpar"
export WIN32_REDIST_DIR=$VCINSTALLDIR/redist/x86/Microsoft.VC110.CRT
export VS90COMNTOOLS=$VS110COMNTOOLS
ac_add_options --with-distribution-id=Palemoon
ac_add_options --disable-update-packaging
ac_add_options --enable-official-branding
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --enable-jemalloc
ac_add_options --enable-shared-js
ac_add_options --enable-chrome-format=omni
ac_add_options --disable-tests
ac_add_options --disable-mochitests
ac_add_options --enable-strip
ac_add_options --enable-strip-libs
ac_add_options --disable-crashreporter
ac_add_options --disable-accessibility
ac_add_options --disable-parental-controls
ac_add_options --disable-maintenance-service
ac_add_options --disable-webrtc
ac_add_options --disable-metro
ac_add_options --disable-websms-backend
ac_add_options --disable-windows-mobile-components
ac_add_options --disable-devtools