]> git.armaanb.net Git - asd-repo.git/blob - extra/chromium/patches/wyverkiss-drop-atoms.patch
Switch browser to Chromium
[asd-repo.git] / extra / chromium / patches / wyverkiss-drop-atoms.patch
1 diff --git a/build/config/linux/BUILD.gn.org b/build/config/linux/BUILD.gn
2 index c0033a2..01480f7 100644
3 --- a/build/config/linux/BUILD.gn.org
4 +++ b/build/config/linux/BUILD.gn
5 @@ -31,7 +31,7 @@ config("runtime_library") {
6    if ((!(is_chromeos_ash || is_chromeos_lacros) ||
7         default_toolchain != "//build/toolchain/cros:target") &&
8        (!use_custom_libcxx || current_cpu == "mipsel")) {
9 -    libs = [ "atomic" ]
10 +    libs = [ "" ]
11    }
12  }
13
14 diff --git a/base/BUILD.gn.orig b/base/BUILD.gn
15 index 7d3506c..3b9ee41 100644
16 --- a/base/BUILD.gn.orig
17 +++ b/base/BUILD.gn
18 @@ -1379,7 +1379,7 @@ component("base") {
19    if (!use_sysroot &&
20        (is_android || ((is_linux || is_chromeos) && !is_chromecast)) &&
21        host_toolchain != "//build/toolchain/cros:host") {
22 -    libs += [ "atomic" ]
23 +    libs += [ "" ]
24    }
25
26    if (use_allocator_shim) {
27