summaryrefslogtreecommitdiff
path: root/chromium/components/nacl
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-13 15:05:36 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-14 10:33:47 +0000
commite684a3455bcc29a6e3e66a004e352dea4e1141e7 (patch)
treed55b4003bde34d7d05f558f02cfd82b2a66a7aac /chromium/components/nacl
parent2b94bfe47ccb6c08047959d1c26e392919550e86 (diff)
downloadqtwebengine-chromium-e684a3455bcc29a6e3e66a004e352dea4e1141e7.tar.gz
BASELINE: Update Chromium to 72.0.3626.110 and Ninja to 1.9.0
Change-Id: Ic57220b00ecc929a893c91f5cc552f5d3e99e922 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/components/nacl')
-rw-r--r--chromium/components/nacl/loader/BUILD.gn18
1 files changed, 1 insertions, 17 deletions
diff --git a/chromium/components/nacl/loader/BUILD.gn b/chromium/components/nacl/loader/BUILD.gn
index b0085145a65..963c64b9d0c 100644
--- a/chromium/components/nacl/loader/BUILD.gn
+++ b/chromium/components/nacl/loader/BUILD.gn
@@ -137,14 +137,10 @@ if (is_linux) {
"//url/ipc:url_ipc",
]
- cflags = [ "-fPIE" ]
-
- ldflags = [ "-pie" ]
-
if (is_chromeos) {
# NaCl is not working with compiler-rt in ChromeOS.
# Force libgcc as a workaround. See https://crbug.com/761103
- ldflags += [ "-rtlib=libgcc" ]
+ ldflags = [ "-rtlib=libgcc" ]
# nacl_helper needs to link with libgcc_s. We already have -lgcc_s in
# the final link command line, but it was placed within "--as-needed"
@@ -153,18 +149,6 @@ if (is_linux) {
# the latter are also placed within an "--as-needed"'.
# See https://crbug.com/884017
ldflags += [ "-lgcc_s" ]
-
- # Nacl crashes when enabling ThinLTO. See https://crbug.com/799642
- # We haven't triaged down to the root cause yet. For now, disabling
- # dead function removal from LTO optimization is a workaround, so that
- # we can enable ThinLTO and CFI.
- if (use_thin_lto) {
- if (use_lld) {
- ldflags += [ "-Wl,-mllvm,-compute-dead=false" ]
- } else {
- ldflags += [ "-Wl,-plugin-opt,-compute-dead=false" ]
- }
- }
}
# The only symbols that nacl_helper needs to export are those specified by