summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch')
-rw-r--r--www/chromium-uc/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch b/www/chromium-uc/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch
new file mode 100644
index 0000000..ff72a53
--- /dev/null
+++ b/www/chromium-uc/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch
@@ -0,0 +1,15 @@
1--- sandbox/linux/BUILD.gn.orig
2+++ sandbox/linux/BUILD.gn
3@@ -327,6 +327,12 @@ if (is_linux || is_chromeos) {
4 # These files have a suspicious comparison.
5 # TODO fix this and re-enable this warning.
6 "-Wno-sign-compare",
7+
8+ "-fPIE",
9+ ]
10+
11+ ldflags = [
12+ "-pie",
13 ]
14 }
15 }