aboutsummaryrefslogtreecommitdiffstats
path: root/build/ymake.core.conf
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2023-08-30 04:40:44 +0300
committerpg <pg@yandex-team.com>2023-08-30 05:04:37 +0300
commitd41c3a928314a3cbea37acf3cc44efcafe2fd5dc (patch)
treed0975249eec150af8dc4ed0c9dc941358b8a8f88 /build/ymake.core.conf
parent635636bcdbea259fd424ea6e3870b003be140923 (diff)
downloadydb-d41c3a928314a3cbea37acf3cc44efcafe2fd5dc.tar.gz
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r--build/ymake.core.conf10
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") {