[FFmpeg-cvslog] configure: Set large address aware.

Matthew Oliver git at videolan.org
Sun Oct 5 12:21:51 CEST 2014


ffmpeg | branch: master | Matthew Oliver <protogonoi at gmail.com> | Sun Oct  5 11:10:37 2014 +1100| [e81eca0ce59aa4973bc53ec064f83610e3642ce5] | committer: Michael Niedermayer

configure: Set large address aware.

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e81eca0ce59aa4973bc53ec064f83610e3642ce5
---

 configure |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 71a0d59..125063c 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"



More information about the ffmpeg-cvslog mailing list