mk_add_options MOZ_OBJDIR=/e/mozilla-src/seamonkey-central ac_add_options --enable-application=suite ac_add_options --disable-crashreporter #ac_add_options --enable-ui-locale=de #ac_add_options --disable-tests #ac_add_options --disable-mochitest # otherwise the June 2010 or newer DirectX SDK is needed ac_add_options --disable-angle # Enable this if you have neither the Vista SDK nor Windows 7 SDK #ac_add_options --with-windows-version=600 # Optimization # - O2: optimize for speed, Ox: optimize all # - GA: optimize for Windows Application # - GL: Whole Program Optimization # - GF: Eliminate Duplicate Strings # - GT: Support Fiber-Safe Thread-Local Storage # - arch: SSE or SSE2 # note: MS Visual Studio 8 has dropped support for G3-7 # cannot use L after -G, see bug 600023 # Starting with Gecko 7, -Zc:wchar_t- must not be used anymore ac_add_options --enable-optimize="-O2 -GAFT -GS- -Gs -fp:fast -arch:SSE2" # Link-Time Code Generation for MSVC export LDFLAGS="-ltcg" mk_add_options LDFLAGS="-ltcg" export MOZ_OPTIMIZE_LDFLAGS="-opt:ref,icf" mk_add_options MOZ_OPTIMIZE_LDFLAGS="-opt:ref,icf"