ports/www/ungoogled-chromium/patches/patch-build_config_clang_BUILD_gn

12 lines
453 B
Text

Index: build/config/clang/BUILD.gn
--- build/config/clang/BUILD.gn.orig
+++ 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.
#