From 91a5f884373b2f751befa63efbccc539ba64bab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Sat, 3 Jun 2023 18:07:50 +0200 Subject: [PATCH] david: don't enable dynamic base --- src/dav1d-1-nodynamicbase.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/dav1d-1-nodynamicbase.patch diff --git a/src/dav1d-1-nodynamicbase.patch b/src/dav1d-1-nodynamicbase.patch new file mode 100644 index 0000000000..9ff1ca21ba --- /dev/null +++ b/src/dav1d-1-nodynamicbase.patch @@ -0,0 +1,20 @@ +diff --git a/meson.build b/meson.build +index 2e2974d..b6791fb 100644 +--- a/meson.build ++++ b/meson.build +@@ -109,13 +109,13 @@ if host_machine.system() == 'windows' + + if host_machine.cpu_family() == 'x86_64' + if cc.get_argument_syntax() != 'msvc' +- optional_link_arguments += '-Wl,--dynamicbase,--nxcompat,--tsaware,--high-entropy-va' ++ optional_link_arguments += '-Wl,--nxcompat,--tsaware,--high-entropy-va' + endif + elif host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'arm' + if cc.get_argument_syntax() == 'msvc' + optional_link_arguments += '/largeaddressaware' + else +- optional_link_arguments += '-Wl,--dynamicbase,--nxcompat,--tsaware,--large-address-aware' ++ optional_link_arguments += '-Wl,--nxcompat,--tsaware,--large-address-aware' + endif + endif +