diff options
author | gemtmp <gemtmp@yandex-team.com> | 2023-03-23 00:46:16 +0300 |
---|---|---|
committer | gemtmp <gemtmp@yandex-team.com> | 2023-03-23 00:46:16 +0300 |
commit | b9bde200890e4dc212a78ae01ed9989da9670637 (patch) | |
tree | 595bf20c1a6012d27c7f6b362bf24153b39d2a24 /build | |
parent | 03fa2742794920a8140d4c71a613561fd2b5b825 (diff) | |
download | ydb-b9bde200890e4dc212a78ae01ed9989da9670637.tar.gz |
do not use glibcasm with thinlto
https://bugs.llvm.org/show_bug.cgi?id=46488
Diffstat (limited to 'build')
-rw-r--r-- | build/ymake.core.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 2e12032998..7474f3b1ff 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -1785,7 +1785,12 @@ module _BASE_PROGRAM: _LINK_UNIT { } when ($MSVC != "yes" && $NOPLATFORM != "yes" && $WITH_VALGRIND != "yes" && $USE_ASMLIB != "no" && $MIC_ARCH != "yes" && $PIC != "yes" && $PIE != "yes") { - PEERDIR+=contrib/libs/asmlib + when ($OS_LINUX == "yes" && $ARCH_X86_64 == "yes" && $MUSL != "yes" && $SANITIZER_DEFINED != "yes" && $USE_THINLTO != "yes") { + PEERDIR+=contrib/libs/glibcasm + } + otherwise { + PEERDIR+=contrib/libs/asmlib + } } when ($MUSL == "yes") { |