summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-72.0.3626.96/as-needed.patch
blob: 791090de90e7d70422552d93d5348b0da5b1cd9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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",
       ]
     }
   }