Bug 686139 - Port |Bug 556382 - Link 32-bit Windows builds with LARGEADDRESSAWARE| to comm. rs=KaiRo (simple port) a=Standard8
authorJustin Wood <Callek@gmail.com>
Sat, 10 Sep 2011 18:34:37 -0400
changeset 8820 96acac491c88c83b172a4ad8d987613eb82f2ea5
parent 8819 2d56b3334e86f464943181e7d508a8a5a468acf8
child 8821 bade0f3294aab22460922939f77e2193b213eb48
push idunknown
push userunknown
push dateunknown
reviewersKaiRo, Standard8
bugs686139, 556382
Bug 686139 - Port |Bug 556382 - Link 32-bit Windows builds with LARGEADDRESSAWARE| to comm. rs=KaiRo (simple port) a=Standard8
configure.in
--- a/configure.in
+++ b/configure.in
@@ -2269,17 +2269,17 @@ ia64*-hpux*)
         MOZ_JS_STATIC_LIBS='$(LIBXUL_DIST)/lib/js_static.lib'
         MOZ_JS_SHARED_LIBS='$(LIBXUL_DIST)/lib/mozjs.lib'
         MOZ_FIX_LINK_PATHS=
         DYNAMIC_XPCOM_LIBS='$(LIBXUL_DIST)/lib/xpcom.lib $(LIBXUL_DIST)/lib/xpcom_core.lib $(LIBXUL_DIST)/lib/mozalloc.lib'
         XPCOM_FROZEN_LDOPTS='$(LIBXUL_DIST)/lib/xpcom.lib $(LIBXUL_DIST)/lib/mozalloc.lib'
         LIBXUL_LIBS='$(LIBXUL_DIST)/lib/xpcom.lib $(LIBXUL_DIST)/lib/xul.lib $(LIBXUL_DIST)/lib/mozalloc.lib'
         MOZ_COMPONENT_NSPR_LIBS='$(NSPR_LIBS)'
         if test $_MSC_VER -ge 1400; then
-            LDFLAGS="$LDFLAGS -NXCOMPAT"
+            LDFLAGS="$LDFLAGS -LARGEADDRESSAWARE -NXCOMPAT"
             dnl For profile-guided optimization
             PROFILE_GEN_CFLAGS="-GL"
             PROFILE_GEN_LDFLAGS="-LTCG:PGINSTRUMENT"
             dnl XXX: PGO builds can fail with warnings treated as errors,
             dnl specifically "no profile data available" appears to be
             dnl treated as an error sometimes. This might be a consequence
             dnl of using WARNINGS_AS_ERRORS in some modules, combined
             dnl with the linker doing most of the work in the whole-program