aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.ru>2022-04-11 07:21:47 +0300
committersvidyuk <svidyuk@yandex-team.ru>2022-04-11 07:21:47 +0300
commit84a67e80ca678641d74ac88c33d13d95500c1e24 (patch)
treea7af944c9d14451729648eadb3794be1f3c66cdd
parentb901a230255cf62bfabd53a7b0042b6af7a8e67b (diff)
downloadydb-84a67e80ca678641d74ac88c33d13d95500c1e24.tar.gz
Use Catboost cflags from Arcadia rather then exprot toool hardcode
ref:0d2672cbde86f673a498641c83483cd408135c40
-rw-r--r--build/conf/opensource.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/conf/opensource.conf b/build/conf/opensource.conf
index 41eff1aaf8..9d84163f10 100644
--- a/build/conf/opensource.conf
+++ b/build/conf/opensource.conf
@@ -2,6 +2,8 @@ EXPORT_CMAKE=no
when ($CATBOOST_OPENSOURCE == "yes") {
OPENSOURCE=yes
+ CFLAGS+=-DCATBOOST_OPENSOURCE=yes
+ CXXFLAGS+=-DCATBOOST_OPENSOURCE=yes
}
when ($OPENSOURCE) {