[vlc-commits] [Git][videolan/vlc][master] configure: enable large-address-aware on 32-bit Windows

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Mon Nov 11 18:48:12 UTC 2024



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
616d1a05 by Steve Lhomme at 2024-11-11T18:11:30+00:00
configure: enable large-address-aware on 32-bit Windows

This allows the GPU drivers to use more memory than a 32-bit app would use.
This should have no effect on a 32-bit Windows.

Fixes #28743

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -379,11 +379,15 @@ int foo() { return my_array[0]; }
                 WINDOWS_ARCH="arm"
                 PROGRAMFILES="PROGRAMFILES"
             ;;
-            *)
+            i?86)
                 WINDOWS_ARCH="x86"
                 PROGRAMFILES="PROGRAMFILES"
                 X86ASMFLAGS="-f win32"
                 X86ASMDEFS="${X86ASMDEFS} -DPREFIX"
+                AX_APPEND_FLAG([-Wl,--large-address-aware], [LDFLAGS])
+            ;;
+            *)
+                AC_MSG_ERROR([Unsupported Windows architecture ${host_cpu}])
             ;;
         esac
         AC_SUBST([WINDOWS_ARCH])



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/616d1a05b1011450bae637b029c98eec071a26eb

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/616d1a05b1011450bae637b029c98eec071a26eb
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list