summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-72.0.3626.96/as-needed.patch
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2019-02-24 22:49:16 -0700
committerKenny Ballou <kballou@devnulllabs.io>2019-02-26 22:13:37 -0700
commit59201188169f51645159ebb2cf0cd52619915c16 (patch)
treee79e696139305b3e89b8ed8101ded2cbe599394e /patches/www-client/chromium-72.0.3626.96/as-needed.patch
parent1c74e95fd91718007da08ce6e7d80e608461119d (diff)
downloadgentoo.patches-59201188169f51645159ebb2cf0cd52619915c16.tar.gz
gentoo.patches-59201188169f51645159ebb2cf0cd52619915c16.tar.xz
Add chromium-72 patches from debian project
Collect a number of patches, specifically, `fixes` and `gcc6` patches for compiling chromium-72. [0]: https://salsa.debian.org/chromium-team/chromium/tree/master/debian/patches Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'patches/www-client/chromium-72.0.3626.96/as-needed.patch')
-rw-r--r--patches/www-client/chromium-72.0.3626.96/as-needed.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/www-client/chromium-72.0.3626.96/as-needed.patch b/patches/www-client/chromium-72.0.3626.96/as-needed.patch
new file mode 100644
index 0000000..791090d
--- /dev/null
+++ b/patches/www-client/chromium-72.0.3626.96/as-needed.patch
@@ -0,0 +1,14 @@
+description: some libraries fail to link when --as-needed is set
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/build/config/compiler/BUILD.gn
++++ b/build/config/compiler/BUILD.gn
+@@ -396,7 +396,7 @@ config("compiler") {
+ if (!using_sanitizer) {
+ ldflags += [
+ "-Wl,-z,defs",
+- "-Wl,--as-needed",
++ "-Wl,--no-as-needed",
+ ]
+ }
+ }