aboutsummaryrefslogtreecommitdiffstats
path: root/build/ymake.core.conf
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2023-11-30 15:22:50 +0300
committerpg <pg@yandex-team.com>2023-11-30 18:11:05 +0300
commit6a76fc604efe91ed69af5345c66c2ed45fd4c757 (patch)
tree57e1e38c161cb8adb061a038c945c22d78ec030e /build/ymake.core.conf
parent8d5508043c877ac75489f7efb06b0c8154a5d992 (diff)
downloadydb-6a76fc604efe91ed69af5345c66c2ed45fd4c757.tar.gz
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r--build/ymake.core.conf10
1 files changed, 2 insertions, 8 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 16bfecf756..b34c6f1d81 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -1010,14 +1010,8 @@ module _LINK_UNIT: _BASE_UNIT {
}
when ($NEED_PROFILE_RUNTIME == "yes") {
- 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
- }
+ LDFLAGS+=-resource-dir=contrib/libs/clang-rt
+ PEERDIR+=contrib/libs/clang${CLANG_VER}-rt/lib/profile
}
when ($USE_LIBCXXRT == "yes") {