aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp
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 /contrib/libs/cxxsupp
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 'contrib/libs/cxxsupp')
-rw-r--r--contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt3
-rw-r--r--contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt3
-rw-r--r--contrib/libs/cxxsupp/libcxx/CMakeLists.txt1
-rw-r--r--contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt1
-rw-r--r--contrib/libs/cxxsupp/libcxxrt/CMakeLists.txt1
5 files changed, 9 insertions, 0 deletions
diff --git a/contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt b/contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt
index dc0988e90b..cc64f72d08 100644
--- a/contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt
+++ b/contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt
@@ -8,6 +8,9 @@
add_library(libs-cxxsupp-builtins)
+target_compile_options(libs-cxxsupp-builtins PRIVATE
+ -Wno-everything
+)
target_sources(libs-cxxsupp-builtins PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/addtf3.c
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/ashlti3.c
diff --git a/contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt b/contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt
index 6e74906c0e..81ad830478 100644
--- a/contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt
+++ b/contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt
@@ -8,6 +8,9 @@
add_library(libs-cxxsupp-builtins)
+target_compile_options(libs-cxxsupp-builtins PRIVATE
+ -Wno-everything
+)
target_sources(libs-cxxsupp-builtins PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/addtf3.c
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/ashlti3.c
diff --git a/contrib/libs/cxxsupp/libcxx/CMakeLists.txt b/contrib/libs/cxxsupp/libcxx/CMakeLists.txt
index 39e165f9c6..a9837f9b19 100644
--- a/contrib/libs/cxxsupp/libcxx/CMakeLists.txt
+++ b/contrib/libs/cxxsupp/libcxx/CMakeLists.txt
@@ -15,6 +15,7 @@ target_compile_options(libs-cxxsupp-libcxx PUBLIC
)
target_compile_options(libs-cxxsupp-libcxx PRIVATE
-D_LIBCPP_BUILDING_LIBRARY
+ -Wno-everything
)
target_include_directories(libs-cxxsupp-libcxx PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxx/include
diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt
index 41e0e8d87c..b5c3cdc400 100644
--- a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt
+++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt
@@ -13,6 +13,7 @@ target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC
)
target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE
-D_LIBCXXABI_BUILDING_LIBRARY
+ -Wno-everything
)
target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include
diff --git a/contrib/libs/cxxsupp/libcxxrt/CMakeLists.txt b/contrib/libs/cxxsupp/libcxxrt/CMakeLists.txt
index e16f7d6008..833e0ce2d7 100644
--- a/contrib/libs/cxxsupp/libcxxrt/CMakeLists.txt
+++ b/contrib/libs/cxxsupp/libcxxrt/CMakeLists.txt
@@ -10,6 +10,7 @@
add_library(libs-cxxsupp-libcxxrt)
target_compile_options(libs-cxxsupp-libcxxrt PRIVATE
-nostdinc++
+ -Wno-everything
)
target_include_directories(libs-cxxsupp-libcxxrt PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxrt