summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-73.0.3683.75/as-needed.patch
blob: e1475d1be3e046251b92727ee96fde5b07b235c9 (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
@@ -397,7 +397,7 @@ config("compiler") {
     if (!using_sanitizer) {
       ldflags += [
         "-Wl,-z,defs",
-        "-Wl,--as-needed",
+        "-Wl,--no-as-needed",
       ]
     }
   }