aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/go.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/conf/go.conf
parent8d5508043c877ac75489f7efb06b0c8154a5d992 (diff)
downloadydb-6a76fc604efe91ed69af5345c66c2ed45fd4c757.tar.gz
Diffstat (limited to 'build/conf/go.conf')
-rw-r--r--build/conf/go.conf10
1 files changed, 2 insertions, 8 deletions
diff --git a/build/conf/go.conf b/build/conf/go.conf
index f138fc0fe6..55ff2a463e 100644
--- a/build/conf/go.conf
+++ b/build/conf/go.conf
@@ -874,14 +874,8 @@ module GO_PROGRAM: _GO_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 ($OPENSOURCE == "yes" && $AUTOCHECK == "yes") {