Skip to content

Commit

Permalink
david: don't enable dynamic base
Browse files Browse the repository at this point in the history
  • Loading branch information
s09bQ5 committed Jun 4, 2023
1 parent 34bf44e commit 91a5f88
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/dav1d-1-nodynamicbase.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 91a5f88

Please sign in to comment.