diff options
author | pg <pg@yandex-team.com> | 2023-08-30 04:40:44 +0300 |
---|---|---|
committer | pg <pg@yandex-team.com> | 2023-08-30 05:04:37 +0300 |
commit | d41c3a928314a3cbea37acf3cc44efcafe2fd5dc (patch) | |
tree | d0975249eec150af8dc4ed0c9dc941358b8a8f88 /build/ymake.core.conf | |
parent | 635636bcdbea259fd424ea6e3870b003be140923 (diff) | |
download | ydb-d41c3a928314a3cbea37acf3cc44efcafe2fd5dc.tar.gz |
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r-- | build/ymake.core.conf | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 8396cb233e..5a0547da72 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -964,8 +964,14 @@ module _LINK_UNIT: _BASE_UNIT { } when ($NEED_PROFILE_RUNTIME == "yes") { - LDFLAGS+=-resource-dir=contrib/libs/clang-rt - PEERDIR+=contrib/libs/clang14-rt/lib/profile + when ($CLANG16 == "yes") { + LDFLAGS+=-resource-dir=contrib/libs/clang-rt + PEERDIR+=contrib/libs/clang16-rt/lib/profile + } + otherwise { + LDFLAGS+=-resource-dir=contrib/libs/clang-rt + PEERDIR+=contrib/libs/clang14-rt/lib/profile + } } when ($USE_LIBCXXRT == "yes") { |