summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMatthew Oliver <protogonoi@gmail.com>2014-10-05 11:10:37 +1100
committerMichael Niedermayer <michaelni@gmx.at>2014-10-05 05:33:36 +0200
commite81eca0ce59aa4973bc53ec064f83610e3642ce5 (patch)
tree0533d04414a7116709a902d3afc842bb2b6263fb /configure
parente079d43af86c38a0c0efb9bc6058e1316e6a18f4 (diff)
configure: Set large address aware.
Enables >2GB memory usage for 32 bit compiles on Windows. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 71a0d597d5..125063c6cb 100755
--- a/configure
+++ b/configure
@@ -4037,6 +4037,7 @@ case $target_os in
enabled shared && ! enabled small && check_cmd $windres --version && enable gnu_windres
check_ldflags -Wl,--nxcompat
check_ldflags -Wl,--dynamicbase
+ enabled x86_32 && check_ldflags -Wl,--large-address-aware
shlibdir_default="$bindir_default"
SLIBPREF=""
SLIBSUF=".dll"
@@ -4069,6 +4070,7 @@ case $target_os in
# Cannot build both shared and static libs with MSVC or icl.
disable static
fi
+ enabled x86_32 && check_ldflags -LARGEADDRESSAWARE
shlibdir_default="$bindir_default"
SLIBPREF=""
SLIBSUF=".dll"