diff options
author | svidyuk <svidyuk@yandex-team.ru> | 2022-07-01 09:02:32 +0300 |
---|---|---|
committer | svidyuk <svidyuk@yandex-team.ru> | 2022-07-01 09:02:32 +0300 |
commit | 3c9bba8e28fdf3bca1abbce2a72e27c542c2fac4 (patch) | |
tree | 813632dc1e042d4799bb1a5838d02c781c977218 /contrib/libs/libc_compat | |
parent | 77cb1379853232a9e0f5540d74d564dc76c9c208 (diff) | |
download | ydb-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 'contrib/libs/libc_compat')
-rw-r--r-- | contrib/libs/libc_compat/CMakeLists.darwin.txt | 3 | ||||
-rw-r--r-- | contrib/libs/libc_compat/CMakeLists.linux.txt | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/contrib/libs/libc_compat/CMakeLists.darwin.txt b/contrib/libs/libc_compat/CMakeLists.darwin.txt index 4e71c6b3ec..896c352d25 100644 --- a/contrib/libs/libc_compat/CMakeLists.darwin.txt +++ b/contrib/libs/libc_compat/CMakeLists.darwin.txt @@ -8,6 +8,9 @@ add_library(contrib-libs-libc_compat) +target_compile_options(contrib-libs-libc_compat PRIVATE + -Wno-everything +) target_sources(contrib-libs-libc_compat PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/string.c ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/memrchr.c diff --git a/contrib/libs/libc_compat/CMakeLists.linux.txt b/contrib/libs/libc_compat/CMakeLists.linux.txt index d10a3525a9..745d623c48 100644 --- a/contrib/libs/libc_compat/CMakeLists.linux.txt +++ b/contrib/libs/libc_compat/CMakeLists.linux.txt @@ -8,6 +8,9 @@ add_library(contrib-libs-libc_compat) +target_compile_options(contrib-libs-libc_compat PRIVATE + -Wno-everything +) target_include_directories(contrib-libs-libc_compat PUBLIC ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/random |