提交 e81eca0c 编写于 作者: M Matthew Oliver 提交者: Michael Niedermayer

configure: Set large address aware.

Enables >2GB memory usage for 32 bit compiles on Windows.
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 e079d43a
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册