From 59201188169f51645159ebb2cf0cd52619915c16 Mon Sep 17 00:00:00 2001 From: Kenny Ballou Date: Sun, 24 Feb 2019 22:49:16 -0700 Subject: 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 --- patches/www-client/chromium-72.0.3626.96/as-needed.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/www-client/chromium-72.0.3626.96/as-needed.patch (limited to 'patches/www-client/chromium-72.0.3626.96/as-needed.patch') 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 + +--- 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", + ] + } + } -- cgit v1.2.1