From 51f6c2793adab2d864b3d2b360000ef8db1d3e92 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 10 Dec 2018 16:19:40 +0100 Subject: BASELINE: Update Chromium to 71.0.3578.93 Change-Id: I6a32086c33670e1b033f8b10e6bf1fd4da1d105d Reviewed-by: Alexandru Croitor --- chromium/components/nacl/loader/BUILD.gn | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chromium/components/nacl') diff --git a/chromium/components/nacl/loader/BUILD.gn b/chromium/components/nacl/loader/BUILD.gn index a3096b7cb7d..b0085145a65 100644 --- a/chromium/components/nacl/loader/BUILD.gn +++ b/chromium/components/nacl/loader/BUILD.gn @@ -146,6 +146,14 @@ if (is_linux) { # Force libgcc as a workaround. See https://crbug.com/761103 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" + # with the result that the dependency gets dropped. Similarly, we need + # to add this via "ldflags" and not "libs" because libraries added via + # 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 -- cgit v1.2.1