chromium-browser-stable/chromium-67.0.3396.87-fix-build-llvm-ar.patch
2019-04-13 22:52:15 +03:00

22 lines
1.1 KiB
Diff

--- chromium-68.0.3440.106/build/toolchain/gcc_toolchain.gni-orig 2018-08-08 22:10:32.000000000 +0300
+++ chromium-68.0.3440.106/build/toolchain/gcc_toolchain.gni 2018-08-11 18:42:17.259611096 +0300
@@ -318,7 +318,7 @@
} else {
rspfile = "{{output}}.rsp"
rspfile_content = "{{inputs}}"
- command = "\"$ar\" {{arflags}} -r -c -s -D {{output}} @\"$rspfile\""
+ command = "\"$ar\" {{arflags}} rcsD {{output}} @\"$rspfile\""
}
# Remove the output file first so that ar doesn't try to modify the
--- chromium-68.0.3440.106/build/config/compiler/BUILD.gn-orig 2018-08-11 10:15:29.000000000 +0300
+++ chromium-68.0.3440.106/build/config/compiler/BUILD.gn 2018-08-11 18:47:35.366897524 +0300
@@ -1595,7 +1595,7 @@
# have a "thin archive" mode (it does accept -T, but it means truncating
# archive names to 16 characters, which is not what we want).
if ((is_posix && !is_nacl && !is_mac && !is_ios) || is_fuchsia) {
- arflags = [ "-T" ]
+ # arflags = [ "-T" ]
} else if (is_win && use_lld) {
arflags = [ "/llvmlibthin" ]
}