diff options
Diffstat (limited to 'multimedia/ringrtc/files/patch-build_config_clang_BUILD.gn')
-rw-r--r-- | multimedia/ringrtc/files/patch-build_config_clang_BUILD.gn | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/multimedia/ringrtc/files/patch-build_config_clang_BUILD.gn b/multimedia/ringrtc/files/patch-build_config_clang_BUILD.gn index f2dd7f101af1..5f81aa974ab7 100644 --- a/multimedia/ringrtc/files/patch-build_config_clang_BUILD.gn +++ b/multimedia/ringrtc/files/patch-build_config_clang_BUILD.gn @@ -1,11 +1,16 @@ --- src/webrtc/src/build/config/clang/BUILD.gn.orig 2024-07-30 11:12:21 UTC +++ src/webrtc/src/build/config/clang/BUILD.gn -@@ -224,7 +224,7 @@ clang_lib("compiler_builtins") { - libname = "ios" - } - } else { -- libname = "builtins" -+ #libname = "builtins" - } - } +@@ -252,7 +252,12 @@ template("clang_lib") { + # 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") { |