summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritrofimow <[email protected]>2025-03-25 04:28:41 +0300
committeritrofimow <[email protected]>2025-03-25 04:43:43 +0300
commit7250aa1f61673aa672809372a0a8b338e5361ccd (patch)
tree61185b32ade47d719fbcc327aae93c5e284ee131
parented45bc6ca0a1102bde32e57fcf2255630a0866cc (diff)
use glibcasm with thinlto
Prior to <https://github.com/llvm/llvm-project/commit/6276927bf3f6ce4a9ef0b9941b2c6450ae4cd1eb> llvm failed to compile ifunc \+ LTO. The fix landed in llvm 18, so we should be able to use glibcasm instead of asmlib even with LTO enabled. commit_hash:e8173e31dcc76164824b251c4f94ca5571498168
-rw-r--r--build/ymake.core.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 53c47f8a50a..6d7f0a139ed 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -1157,7 +1157,7 @@ module _BASE_PROGRAM: _LINK_UNIT {
}
when ($MSVC != "yes" && $NOPLATFORM != "yes" && $WITH_VALGRIND != "yes" && $USE_ASMLIB != "no" && $MIC_ARCH != "yes" && $PIC != "yes" && $PIE != "yes") {
- when ($OS_LINUX == "yes" && $ARCH_X86_64 == "yes" && $MUSL != "yes" && $SANITIZER_DEFINED != "yes" && $USE_THINLTO != "yes") {
+ when ($OS_LINUX == "yes" && $ARCH_X86_64 == "yes" && $MUSL != "yes" && $SANITIZER_DEFINED != "yes") {
PEERDIR+=contrib/libs/glibcasm
}
otherwise {