aboutsummaryrefslogtreecommitdiffstats
path: root/build/ymake.core.conf
diff options
context:
space:
mode:
authorprettyboy <prettyboy@yandex-team.com>2023-08-28 18:24:09 +0300
committerprettyboy <prettyboy@yandex-team.com>2023-08-28 19:24:41 +0300
commit2f61aa846ac3374f98edd2c5b3be9a2d91f70912 (patch)
tree84b4c5edb0847da929cc3eda11fafd36bde1dceb /build/ymake.core.conf
parent74a4f6f062055bbe07a9e9140dde2c8026641092 (diff)
downloadydb-2f61aa846ac3374f98edd2c5b3be9a2d91f70912.tar.gz
[build/ymake.core.conf] Apply MODULE_LICENSES_RESTRICTIONS only in autocheck
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r--build/ymake.core.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 2ab5d1ca9e..5ebb61670d 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -977,7 +977,7 @@ module _LINK_UNIT: _BASE_UNIT {
LINK_SCRIPT_EXE_FLAGS += --dynamic-cuda
}
- when ($OPENSOURCE == "yes") {
+ when ($OPENSOURCE == "yes" && $AUTOCHECK == "yes") {
MODULE_LICENSES_RESTRICTION_TYPES = DENY
MODULE_LICENSES_RESTRICTIONS = REQUIRE_DISCLOSURE FORBIDDEN NDA
}