diff options
author | CoprDistGit <infra@openeuler.org> | 2024-03-20 03:46:37 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-03-20 03:46:37 +0000 |
commit | fa06f8afb826bc7e16e2919c3b6feee02417ce28 (patch) | |
tree | 042a9bca624cc1e2a2c3dd7ef4943f0ac042556f /chromium-70.0.3538.67-sandbox-pie.patch | |
parent | 5e81daef691f9d194780705f7af7e5f84133315e (diff) |
automatic import of chromiumopeneuler23.09
Diffstat (limited to 'chromium-70.0.3538.67-sandbox-pie.patch')
-rw-r--r-- | chromium-70.0.3538.67-sandbox-pie.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chromium-70.0.3538.67-sandbox-pie.patch b/chromium-70.0.3538.67-sandbox-pie.patch new file mode 100644 index 0000000..0f104e9 --- /dev/null +++ b/chromium-70.0.3538.67-sandbox-pie.patch @@ -0,0 +1,20 @@ +diff -up chromium-70.0.3538.67/sandbox/linux/BUILD.gn.sandboxpie chromium-70.0.3538.67/sandbox/linux/BUILD.gn +--- chromium-70.0.3538.67/sandbox/linux/BUILD.gn.sandboxpie 2018-10-18 12:14:05.766939769 -0400 ++++ chromium-70.0.3538.67/sandbox/linux/BUILD.gn 2018-10-18 12:16:37.820027182 -0400 +@@ -315,10 +315,16 @@ if (is_linux) { + # For ULLONG_MAX + "-std=gnu99", + ++ "-fPIE", ++ + # These files have a suspicious comparison. + # TODO fix this and re-enable this warning. + "-Wno-sign-compare", + ] ++ ++ ldflags = [ ++ "-pie", ++ ] + } + } + |