build: Never explicitly link clang_rt.builtins

https://chromium-review.googlesource.com/c/chromium/src/+/5723176
This commit is contained in:
klzgrad
2026-09-24 08:04:25 +08:00
parent 74ea8d0808
commit da2e4505e6
+4 -1
View File
@@ -257,7 +257,10 @@ template("clang_lib") {
# Adds a dependency on the Clang runtime library clang_rt.builtins.
clang_lib("compiler_builtins") {
if (is_mac) {
if (true) {
# NaiveProxy doesn't use Rust and never links clang_rt.builtins.
# Don't define libname which makes this target do nothing.
} else if (is_mac) {
libname = "osx"
} else if (is_ios) {
if (target_platform == "iphoneos") {