mirror of
https://abf.rosa.ru/djam/chromium-browser-stable.git
synced 2025-02-24 15:12:49 +00:00
Extend the patch
This commit is contained in:
parent
b7e3d8651d
commit
9fa748bfef
1 changed files with 18 additions and 5 deletions
|
@ -22,10 +22,11 @@ Author: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
|
|||
|
||||
--- a/build/config/compiler/compiler.gni 2018-10-21 02:15:50.290369454 +0300
|
||||
+++ b/build/config/compiler/compiler.gni 2018-10-21 12:38:18.521273343 +0300
|
||||
@@ -158,19 +158,6 @@
|
||||
@@ -157,30 +157,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
declare_args() {
|
||||
-declare_args() {
|
||||
- # Set to true to use lld, the LLVM linker. This flag may be used on Windows,
|
||||
- # Linux or Fuchsia.
|
||||
- # TODO(pcc): Enable lld on more architectures on Linux. E.g. we probably need
|
||||
|
@ -39,6 +40,18 @@ Author: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
|
|||
-}
|
||||
-
|
||||
-declare_args() {
|
||||
# Whether to use the gold linker from binutils instead of lld or bfd.
|
||||
use_gold = !use_lld && !(is_chromecast && is_linux &&
|
||||
(current_cpu == "arm" || current_cpu == "mipsel")) &&
|
||||
- # Whether to use the gold linker from binutils instead of lld or bfd.
|
||||
- use_gold = !use_lld && !(is_chromecast && is_linux &&
|
||||
- (current_cpu == "arm" || current_cpu == "mipsel")) &&
|
||||
- ((is_linux && (current_cpu == "x64" || current_cpu == "x86" ||
|
||||
- current_cpu == "arm" || current_cpu == "mipsel" ||
|
||||
- current_cpu == "mips64el")) ||
|
||||
- (is_android && (current_cpu == "x86" || current_cpu == "x64" ||
|
||||
- current_cpu == "arm" || current_cpu == "arm64")))
|
||||
-}
|
||||
-
|
||||
# If it wasn't manually set, set to an appropriate default.
|
||||
assert(symbol_level >= -1 && symbol_level <= 2, "Invalid symbol_level")
|
||||
if (symbol_level == -1) {
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue