Skip to content
Snippets Groups Projects
Commit 616d1a05 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

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
parent e0cd2de6
No related branches found
No related tags found
1 merge request!5927configure: enable large-address-aware on 32-bit Windows builds
Pipeline #533069 passed with stages
in 30 minutes and 41 seconds
......@@ -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])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment