aboutsummaryrefslogtreecommitdiff
path: root/repos/clang/firefox/enable-elfhack-relr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repos/clang/firefox/enable-elfhack-relr.patch')
-rw-r--r--repos/clang/firefox/enable-elfhack-relr.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/repos/clang/firefox/enable-elfhack-relr.patch b/repos/clang/firefox/enable-elfhack-relr.patch
new file mode 100644
index 00000000..b1161080
--- /dev/null
+++ b/repos/clang/firefox/enable-elfhack-relr.patch
@@ -0,0 +1,11 @@
+--- a/toolkit/moz.configure
++++ b/toolkit/moz.configure
+@@ -1517,7 +1517,7 @@ with only_when("--enable-compile-environ
+ # packed relative relocations rather than elfhack.
+ if android_version:
+ return android_version >= 30
+- return have_arc4random
++ return have_arc4random or True
+
+ @depends(
+ c_compiler,