aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.ru>2022-07-01 09:02:32 +0300
committersvidyuk <svidyuk@yandex-team.ru>2022-07-01 09:02:32 +0300
commit3c9bba8e28fdf3bca1abbce2a72e27c542c2fac4 (patch)
tree813632dc1e042d4799bb1a5838d02c781c977218 /library
parent77cb1379853232a9e0f5540d74d564dc76c9c208 (diff)
downloadydb-3c9bba8e28fdf3bca1abbce2a72e27c542c2fac4.tar.gz
Hackish NO_COMPILER_WARNINGS support
Proper implementation must be done as part of YMAKE-91 YMAKE-91 ref:8b77363477972e5927f43d53d571cd60dd458995
Diffstat (limited to 'library')
-rw-r--r--library/cpp/lfalloc/CMakeLists.txt3
-rw-r--r--library/cpp/lfalloc/yt/CMakeLists.darwin.txt1
2 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/lfalloc/CMakeLists.txt b/library/cpp/lfalloc/CMakeLists.txt
index 99da2da1d7..9564ed7af0 100644
--- a/library/cpp/lfalloc/CMakeLists.txt
+++ b/library/cpp/lfalloc/CMakeLists.txt
@@ -8,6 +8,9 @@
add_library(library-cpp-lfalloc)
+target_compile_options(library-cpp-lfalloc PRIVATE
+ -Wno-everything
+)
target_link_libraries(library-cpp-lfalloc PUBLIC
contrib-libs-cxxsupp
cpp-malloc-api
diff --git a/library/cpp/lfalloc/yt/CMakeLists.darwin.txt b/library/cpp/lfalloc/yt/CMakeLists.darwin.txt
index 4dd2d33d59..efd7f13a5c 100644
--- a/library/cpp/lfalloc/yt/CMakeLists.darwin.txt
+++ b/library/cpp/lfalloc/yt/CMakeLists.darwin.txt
@@ -10,6 +10,7 @@
add_library(cpp-lfalloc-yt)
target_compile_options(cpp-lfalloc-yt PRIVATE
-DLFALLOC_YT
+ -Wno-everything
)
target_link_libraries(cpp-lfalloc-yt PUBLIC
contrib-libs-cxxsupp