mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
16 lines
586 B
Text
16 lines
586 B
Text
--- build/config/clang/BUILD.gn.orig 2025-04-16 18:18:42 UTC
|
|
+++ build/config/clang/BUILD.gn
|
|
@@ -251,7 +251,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_environment == "simulator") {
|