aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/ya.make
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 10:11:26 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 10:11:26 +0300
commit523174fbd5a4be63d8b01076b7faa6a104110198 (patch)
tree93ff9bdcba120a6c413d5c1eac00cfe3fb09f5cf /contrib/libs/cxxsupp/libcxx/ya.make
parent5d9b03f7d5e4d38860ff05886839b0224222da3e (diff)
downloadydb-523174fbd5a4be63d8b01076b7faa6a104110198.tar.gz
intermediate changes
ref:25052cf645cf81dd1bfa7b93e702cf4ec8b1db49
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/ya.make')
-rw-r--r--contrib/libs/cxxsupp/libcxx/ya.make5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/ya.make b/contrib/libs/cxxsupp/libcxx/ya.make
index 100f0137c5..74bd02b691 100644
--- a/contrib/libs/cxxsupp/libcxx/ya.make
+++ b/contrib/libs/cxxsupp/libcxx/ya.make
@@ -25,6 +25,11 @@ ADDINCL(
CXXFLAGS(-D_LIBCPP_BUILDING_LIBRARY)
+IF (EXPORT_CMAKE)
+ # TODO(YMAKE-91) split C_DEFINES core.conf var into parts and avoid libc++ ya.make modification
+ CXXFLAGS(GLOBAL -D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES)
+ENDIF()
+
IF (OS_ANDROID)
DEFAULT(CXX_RT "default")
IF (ARCH_I686 OR ARCH_ARM7)