diff options
author | pg <pg@yandex-team.com> | 2023-11-30 15:22:50 +0300 |
---|---|---|
committer | pg <pg@yandex-team.com> | 2023-11-30 18:11:05 +0300 |
commit | 6a76fc604efe91ed69af5345c66c2ed45fd4c757 (patch) | |
tree | 57e1e38c161cb8adb061a038c945c22d78ec030e | |
parent | 8d5508043c877ac75489f7efb06b0c8154a5d992 (diff) | |
download | ydb-6a76fc604efe91ed69af5345c66c2ed45fd4c757.tar.gz |
-rw-r--r-- | build/conf/go.conf | 10 | ||||
-rw-r--r-- | build/ymake.core.conf | 10 |
2 files changed, 4 insertions, 16 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") { 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") { |