aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/blockcodecs/codecs/lzma
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2023-08-06 18:13:23 +0300
committerpg <pg@yandex-team.com>2023-08-06 19:07:22 +0300
commitff8e3f0a46bb9fcefd488d3c0df14cd5db6ed210 (patch)
tree7a979fb0d6c01d90515eedd6bb29da7840f87aee /library/cpp/blockcodecs/codecs/lzma
parenta38bc05b605db06f9569320966726795d2f6476e (diff)
downloadydb-ff8e3f0a46bb9fcefd488d3c0df14cd5db6ed210.tar.gz
fix after
Diffstat (limited to 'library/cpp/blockcodecs/codecs/lzma')
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-x86_64.txt3
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt3
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-x86_64.txt3
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt3
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/ya.make4
5 files changed, 3 insertions, 13 deletions
diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-x86_64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-x86_64.txt
index ec9a85c6a2..acaf2f9e8d 100644
--- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-x86_64.txt
+++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-x86_64.txt
@@ -16,9 +16,6 @@ target_link_libraries(blockcodecs-codecs-lzma INTERFACE
)
add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma)
-target_compile_options(blockcodecs-codecs-lzma.global PRIVATE
- -O3
-)
target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC
contrib-libs-cxxsupp
yutil
diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt
index 61824aedb1..0fee0bb18d 100644
--- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt
@@ -17,9 +17,6 @@ target_link_libraries(blockcodecs-codecs-lzma INTERFACE
)
add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma)
-target_compile_options(blockcodecs-codecs-lzma.global PRIVATE
- -O3
-)
target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-x86_64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-x86_64.txt
index 61824aedb1..0fee0bb18d 100644
--- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-x86_64.txt
+++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-x86_64.txt
@@ -17,9 +17,6 @@ target_link_libraries(blockcodecs-codecs-lzma INTERFACE
)
add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma)
-target_compile_options(blockcodecs-codecs-lzma.global PRIVATE
- -O3
-)
target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt
index ec9a85c6a2..acaf2f9e8d 100644
--- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt
+++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt
@@ -16,9 +16,6 @@ target_link_libraries(blockcodecs-codecs-lzma INTERFACE
)
add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma)
-target_compile_options(blockcodecs-codecs-lzma.global PRIVATE
- -O3
-)
target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC
contrib-libs-cxxsupp
yutil
diff --git a/library/cpp/blockcodecs/codecs/lzma/ya.make b/library/cpp/blockcodecs/codecs/lzma/ya.make
index 2b7d535560..6762dd9f17 100644
--- a/library/cpp/blockcodecs/codecs/lzma/ya.make
+++ b/library/cpp/blockcodecs/codecs/lzma/ya.make
@@ -1,6 +1,8 @@
LIBRARY()
-CFLAGS(-O3)
+IF (OS_IOS OR OS_IOSSIM)
+ CFLAGS(-O3)
+ENDIF()
PEERDIR(
contrib/libs/lzmasdk