summaryrefslogtreecommitdiff
path: root/profiles/prefix
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-17 11:37:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-17 11:37:14 +0000
commitf8deb4f754798d63fb6b82178452ee846df8475f (patch)
tree8f187327b54a42741f986268292e3096aadc4019 /profiles/prefix
parentc4a46526c2232ba00b0ccc97f2d2a30b0c6baea5 (diff)
gentoo auto-resync : 17:02:2024 - 11:37:14
Diffstat (limited to 'profiles/prefix')
-rw-r--r--profiles/prefix/darwin/macos/14.0/arm64/clang/parent2
-rw-r--r--profiles/prefix/darwin/macos/features/clang-lld/make.defaults5
2 files changed, 6 insertions, 1 deletions
diff --git a/profiles/prefix/darwin/macos/14.0/arm64/clang/parent b/profiles/prefix/darwin/macos/14.0/arm64/clang/parent
index 745bf6d92cb4..855aaf175968 100644
--- a/profiles/prefix/darwin/macos/14.0/arm64/clang/parent
+++ b/profiles/prefix/darwin/macos/14.0/arm64/clang/parent
@@ -1,2 +1,2 @@
-../../../features/clang-lld
..
+../../../features/clang-lld
diff --git a/profiles/prefix/darwin/macos/features/clang-lld/make.defaults b/profiles/prefix/darwin/macos/features/clang-lld/make.defaults
index bed8060e82fa..a0026ebed507 100644
--- a/profiles/prefix/darwin/macos/features/clang-lld/make.defaults
+++ b/profiles/prefix/darwin/macos/features/clang-lld/make.defaults
@@ -3,5 +3,10 @@
LD=ld64.lld
+# This is the sort of equivalent of -Wl,--as-needed
+# It's already set in profiles/prefix/darwin, but profiles/features/llvm
+# appends --as-needed to it, so here we set it back to the previous value
+LDFLAGS="-Wl,-dead_strip_dylibs"
+
# Several packages fail to build without this
lt_cv_apple_cc_single_mod=yes