changeset 35371:af0fccca2dd7

Add --large-address-aware to allow 32 bit Windows builds to use more than 2 GB RAM if the OS can provide it.
author reimar
date Fri, 23 Nov 2012 20:34:49 +0000
parents 0d21157bb374
children 9d626905f38b
files configure
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Nov 23 20:33:22 2012 +0000
+++ b/configure	Fri Nov 23 20:34:49 2012 +0000
@@ -7774,6 +7774,14 @@
   echores "no"
 fi
 
+echocheck "linker support for --large-address-aware"
+if cflag_check "-Wl,--large-address-aware" ; then
+  extra_ldflags="-Wl,--large-address-aware $extra_ldflags"
+  echores "yes"
+else
+  echores "no"
+fi
+
 
 # Dynamic linking flags
 # (FIXME: 'echocheck "dynamic linking"' above and modify here accordingly)