mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-24 01:52:45 +00:00
in the 202310 branch, build using the system llvm
This commit is contained in:
parent
70f34f737e
commit
88a02efd97
2 changed files with 26 additions and 0 deletions
18
chromium-114-lld-argument.patch
Normal file
18
chromium-114-lld-argument.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
diff --git a/BUILD.gn b/BUILD.gn.new
|
||||
index 28c2255..7f89fe6 100644
|
||||
--- a/build/config/compiler/BUILD.gn
|
||||
+++ b/build/config/compiler/BUILD.gn
|
||||
@@ -727,13 +727,6 @@ config("compiler") {
|
||||
|
||||
ldflags += [ "-Wl,-mllvm,-import-instr-limit=$import_instr_limit" ]
|
||||
|
||||
- if (!is_chromeos) {
|
||||
- # TODO(https://crbug.com/972449): turn on for ChromeOS when that
|
||||
- # toolchain has this flag.
|
||||
- # We only use one version of LLVM within a build so there's no need to
|
||||
- # upgrade debug info, which can be expensive since it runs the verifier.
|
||||
- ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
|
||||
- }
|
||||
}
|
||||
|
||||
# TODO(https://crbug.com/1211155): investigate why this isn't effective on
|
|
@ -61,7 +61,11 @@
|
|||
|
||||
%define xcb_version 1.14.1
|
||||
|
||||
%if %{mdvver} == 202110
|
||||
%bcond_without alternative_llvm
|
||||
%else
|
||||
%bcond_with alternative_llvm
|
||||
%endif
|
||||
|
||||
%if %{with alternative_llvm}
|
||||
%define llvm_ver 17
|
||||
|
@ -161,6 +165,10 @@ Patch655: 0005-Adjust-sizes-in-new-tab-page-for-Russian-text.patch
|
|||
Patch656: block-requests.patch
|
||||
# From Arch Linux, fix includes
|
||||
Patch657: angle-wayland-include-protocol.patch
|
||||
# system llvm rosa 202310
|
||||
%if %{mdvver} == 202310
|
||||
Patch658: chromium-114-lld-argument.patch
|
||||
%endif
|
||||
|
||||
BuildRequires: bison
|
||||
%if %{with alternative_llvm}
|
||||
|
|
Loading…
Add table
Reference in a new issue