aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-10-22 12:22:37 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-10-22 12:22:37 +0300
commitcfa801e12eec1f1845ed0d01f2c44888eefc1ba2 (patch)
tree35d2507f0121bc9968326b63b5155f48fa9ca264 /contrib
parent0d25a9d37d273c2e151d89dacbf6cbe3badf0393 (diff)
downloadydb-cfa801e12eec1f1845ed0d01f2c44888eefc1ba2.tar.gz
Drop some add_defines=False settings from yamaker projects
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/expat/CMakeLists.txt2
-rw-r--r--contrib/restricted/aws/aws-c-cal/CMakeLists.txt3
-rw-r--r--contrib/restricted/aws/aws-c-event-stream/CMakeLists.txt22
3 files changed, 26 insertions, 1 deletions
diff --git a/contrib/libs/expat/CMakeLists.txt b/contrib/libs/expat/CMakeLists.txt
index ac9a9141da..cb5011be45 100644
--- a/contrib/libs/expat/CMakeLists.txt
+++ b/contrib/libs/expat/CMakeLists.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-expat)
target_compile_options(contrib-libs-expat PRIVATE
- -DHAVE_EXPAT_CONFIG_H
+ -DHAVE_CONFIG_H
-Wno-everything
)
target_include_directories(contrib-libs-expat PRIVATE
diff --git a/contrib/restricted/aws/aws-c-cal/CMakeLists.txt b/contrib/restricted/aws/aws-c-cal/CMakeLists.txt
index c790b889c4..d43300dfe4 100644
--- a/contrib/restricted/aws/aws-c-cal/CMakeLists.txt
+++ b/contrib/restricted/aws/aws-c-cal/CMakeLists.txt
@@ -10,6 +10,9 @@ find_package(OpenSSL REQUIRED)
add_library(restricted-aws-aws-c-cal)
target_compile_options(restricted-aws-aws-c-cal PRIVATE
+ -DAWS_CAL_USE_IMPORT_EXPORT
+ -DAWS_COMMON_USE_IMPORT_EXPORT
+ -DHAVE_SYSCONF
-Wno-everything
)
target_include_directories(restricted-aws-aws-c-cal PUBLIC
diff --git a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.txt b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.txt
index cdbb05bfb0..7a73fab05f 100644
--- a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.txt
+++ b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.txt
@@ -9,6 +9,28 @@
add_library(restricted-aws-aws-c-event-stream)
target_compile_options(restricted-aws-aws-c-event-stream PRIVATE
+ -DAWS_CAL_USE_IMPORT_EXPORT
+ -DAWS_CHECKSUMS_USE_IMPORT_EXPORT
+ -DAWS_COMMON_USE_IMPORT_EXPORT
+ -DAWS_EVENT_STREAM_USE_IMPORT_EXPORT
+ -DAWS_IO_USE_IMPORT_EXPORT
+ -DAWS_USE_EPOLL
+ -DHAVE_SYSCONF
+ -DS2N_ADX
+ -DS2N_BIKE_R3_AVX2
+ -DS2N_BIKE_R3_AVX512
+ -DS2N_BIKE_R3_PCLMUL
+ -DS2N_CLONE_SUPPORTED
+ -DS2N_CPUID_AVAILABLE
+ -DS2N_FALL_THROUGH_SUPPORTED
+ -DS2N_FEATURES_AVAILABLE
+ -DS2N_HAVE_EXECINFO
+ -DS2N_KYBER512R3_AVX2_BMI2
+ -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH
+ -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX
+ -DS2N_MADVISE_SUPPORTED
+ -DS2N_SIKE_P434_R3_ASM
+ -DS2N___RESTRICT__SUPPORTED
-Wno-everything
)
target_include_directories(restricted-aws-aws-c-event-stream PUBLIC