/[packages]/cauldron/chromium-browser-stable/current/SOURCES/chromium-121-llvm17-clang-lib-path.patch
ViewVC logotype

Contents of /cauldron/chromium-browser-stable/current/SOURCES/chromium-121-llvm17-clang-lib-path.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2041299 - (show annotations) (download)
Wed Feb 14 21:25:17 2024 UTC (4 months, 3 weeks ago) by squidf
File size: 1363 byte(s)
- New version 121.0.6167.184
- Update chrome-wrapper
- Set rust
- Add own vulkan libs
- Use llvm17
- Clean up ffmpeg patches
- Use bundled libxml

1 --- patch121/build/config/clang/BUILD.gn 2024-01-10 16:43:01.591275200 +0100
2 +++ patch121/build/config/clang/BUILD.gn.lib-path 2024-02-04 17:21:26.199650948 +0100
3 @@ -127,15 +127,15 @@ template("clang_lib") {
4 }
5 } else if (is_apple) {
6 _dir = "darwin"
7 - } else if (is_linux || is_chromeos) {
8 + } else if (is_linux) {
9 if (current_cpu == "x64") {
10 - _dir = "x86_64-unknown-linux-gnu"
11 + _suffix = ""
12 + _dir = "x86_64-mageia-linux-gnu"
13 + _libprefix = ""
14 } else if (current_cpu == "x86") {
15 - _dir = "i386-unknown-linux-gnu"
16 - } else if (current_cpu == "arm") {
17 - _dir = "armv7-unknown-linux-gnueabihf"
18 - } else if (current_cpu == "arm64") {
19 - _dir = "aarch64-unknown-linux-gnu"
20 + _suffix = ""
21 + _dir = "i386-mageia-linux-gnu"
22 + _libprefix = ""
23 } else {
24 assert(false) # Unhandled cpu type
25 }
26 @@ -166,7 +166,7 @@ template("clang_lib") {
27 assert(false) # Unhandled target platform
28 }
29
30 - _clang_lib_dir = "$clang_base_path/lib/clang/$clang_version/lib"
31 + _clang_lib_dir = "$clang_base_path/lib${_libprefix}/clang/$clang_version/lib"
32 _lib_file = "${_prefix}clang_rt.${_libname}${_suffix}.${_ext}"
33 libs = [ "$_clang_lib_dir/$_dir/$_lib_file" ]
34 }

  ViewVC Help
Powered by ViewVC 1.1.30