fixed build failure with clang 18

epel9
Than Ngo 8 months ago
parent 342e76d742
commit a5fbe20b02

@ -34,7 +34,7 @@ diff -up chromium-121.0.6167.57/build/config/clang/BUILD.gn.rust-clang_lib chrom
+ assert(false) # Unhandled cpu type + assert(false) # Unhandled cpu type
+ } + }
+ # different clang lib dir in fedora/epel + # different clang lib dir in fedora/epel
+ if (clang_version == "17") { + if (clang_version == "17" || clang_version == "18") {
+ _suffix = "" + _suffix = ""
+ } else if (clang_version == "16" || clang_version == "14") { + } else if (clang_version == "16" || clang_version == "14") {
+ _libprefix = "64" + _libprefix = "64"

@ -481,7 +481,7 @@ patch356: chromium-122-disable-FFmpegAllowLists.patch
Patch357: chromium-122-clang16-disable-auto-upgrade-debug-info.patch Patch357: chromium-122-clang16-disable-auto-upgrade-debug-info.patch
# set clang_lib path # set clang_lib path
Patch358: chromium-121-rust-clang_lib.patch Patch358: chromium-122-rust-clang_lib.patch
# upstream patches # upstream patches
Patch400: chromium-122-el8-support-64kpage.patch Patch400: chromium-122-el8-support-64kpage.patch

Loading…
Cancel
Save