aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-build_config_clang_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files/patch-build_config_clang_BUILD.gn')
-rw-r--r--devel/electron38/files/patch-build_config_clang_BUILD.gn16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-build_config_clang_BUILD.gn b/devel/electron38/files/patch-build_config_clang_BUILD.gn
new file mode 100644
index 000000000000..d91b5c1044b6
--- /dev/null
+++ b/devel/electron38/files/patch-build_config_clang_BUILD.gn
@@ -0,0 +1,16 @@
+--- build/config/clang/BUILD.gn.orig 2025-08-26 20:49:50 UTC
++++ build/config/clang/BUILD.gn
+@@ -268,7 +268,12 @@ clang_lib("compiler_builtins") {
+
+ # Adds a dependency on the Clang runtime library clang_rt.builtins.
+ clang_lib("compiler_builtins") {
+- if (is_mac) {
++ if (is_bsd) {
++ # Since there's no Rust in the toolchain, there's no concern that we'll use
++ # the Rust stdlib's intrinsics here.
++ #
++ # Don't define libname which makes this target do nothing.
++ } else if (is_mac) {
+ libname = "osx"
+ } else if (is_ios) {
+ if (target_platform == "iphoneos") {