aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-build_config_clang_BUILD.gn
blob: eb48e938557e2d47a6f1c1985d10d7055519ed50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- build/config/clang/BUILD.gn.orig	2024-04-19 13:02:56 UTC
+++ build/config/clang/BUILD.gn
@@ -203,7 +203,7 @@ template("clang_lib") {
 
 # Adds a dependency on the Clang runtime library clang_rt.builtins.
 clang_lib("compiler_builtins") {
-  if (!toolchain_has_rust) {
+  if (!toolchain_has_rust || is_bsd) {
     # Since there's no Rust in the toolchain, there's no concern that we'll use
     # the Rust stdlib's intrinsics here.
     #