diff options
author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2024-02-10 14:31:00 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2024-02-17 11:28:14 +0100 |
commit | d11dab92c84109dc9e7fed186e6ccd7dfcdde222 (patch) | |
tree | 139160fd8630dcec48d271e3a6118e4caa0bf346 | |
parent | .mailmap: map my pre-dev commits to self (diff) | |
download | gentoo-d11dab92c84109dc9e7fed186e6ccd7dfcdde222.tar.gz gentoo-d11dab92c84109dc9e7fed186e6ccd7dfcdde222.tar.bz2 gentoo-d11dab92c84109dc9e7fed186e6ccd7dfcdde222.zip |
profiles/prefix: reorder macos clang parents and override LDFLAGS
This is alternative to https://github.com/gentoo/gentoo/pull/35250
Bug: https://bugs.gentoo.org/758167
Closes: https://github.com/gentoo/gentoo/pull/35260
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r-- | profiles/prefix/darwin/macos/14.0/arm64/clang/parent | 2 | ||||
-rw-r--r-- | profiles/prefix/darwin/macos/features/clang-lld/make.defaults | 5 |
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 |