1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

configure: Set large address aware.

Enables >2GB memory usage for 32 bit compiles on Windows.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Matthew Oliver 2014-10-05 11:10:37 +11:00 committed by Michael Niedermayer
parent e079d43af8
commit e81eca0ce5

2
configure vendored
View File

@ -4037,6 +4037,7 @@ case $target_os in
enabled shared && ! enabled small && check_cmd $windres --version && enable gnu_windres enabled shared && ! enabled small && check_cmd $windres --version && enable gnu_windres
check_ldflags -Wl,--nxcompat check_ldflags -Wl,--nxcompat
check_ldflags -Wl,--dynamicbase check_ldflags -Wl,--dynamicbase
enabled x86_32 && check_ldflags -Wl,--large-address-aware
shlibdir_default="$bindir_default" shlibdir_default="$bindir_default"
SLIBPREF="" SLIBPREF=""
SLIBSUF=".dll" SLIBSUF=".dll"
@ -4069,6 +4070,7 @@ case $target_os in
# Cannot build both shared and static libs with MSVC or icl. # Cannot build both shared and static libs with MSVC or icl.
disable static disable static
fi fi
enabled x86_32 && check_ldflags -LARGEADDRESSAWARE
shlibdir_default="$bindir_default" shlibdir_default="$bindir_default"
SLIBPREF="" SLIBPREF=""
SLIBSUF=".dll" SLIBSUF=".dll"