build: Never explicitly link clang_rt.builtins

https://chromium-review.googlesource.com/c/chromium/src/+/5723176
master
klzgrad 2024-10-06 14:46:16 +08:00
parent 2da3f9af26
commit 2086edc5d5
1 changed files with 4 additions and 1 deletions

View File

@ -252,7 +252,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") {