diff options
author | dtorilov <dtorilov@yandex-team.com> | 2024-03-01 12:44:20 +0300 |
---|---|---|
committer | dtorilov <dtorilov@yandex-team.com> | 2024-03-01 13:14:52 +0300 |
commit | efdbd9574f9f04565a3abef033e560642df89633 (patch) | |
tree | 93437349e87bf535eda046ac9a034103c7932e5d | |
parent | 23dedc1e66234eca013a0b0fe9027096bd519361 (diff) | |
download | ydb-efdbd9574f9f04565a3abef033e560642df89633.tar.gz |
Add emscripten build includes to core conf
d4b07b796b4ecbfead65e739895a2b7e17280c4d
-rw-r--r-- | build/ymake.core.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 5b69b2c1f8c..ebdbf4c01b4 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -729,6 +729,12 @@ module _BASE_UNIT: _BARE_UNIT { PEERDIR+=contrib/libs/musl/include } + when ($OS_EMSCRIPTEN == "yes") { + when ($NOLIBC != "yes") { + PEERDIR+=contrib/restricted/emscripten/include + } + } + # g++ has proxy C-headers which are incompatible with libc++ proxy C-headers. # The same problem exists for clang toolchain. On the other hand, the problem # doesn't affect cl since it has united C/C++ library and doesn't need @@ -4100,6 +4106,7 @@ macro NO_RUNTIME() { macro NO_LIBC() { NO_RUNTIME() DISABLE(MUSL) + ENABLE(NOLIBC) } ### @usage: NO_PLATFORM() |