File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,6 @@ if (USE_S2N)
5252 list (APPEND AWS_PRIVATE_COMPILE_DEFS "-DUSE_S2N" )
5353endif ()
5454
55- list (APPEND AWS_PRIVATE_COMPILE_DEFS "-O0" )
56-
57-
5855# Directories.
5956SET (AWS_SDK_DIR "${ClickHouse_SOURCE_DIR} /contrib/aws" )
6057SET (AWS_SDK_CORE_DIR "${AWS_SDK_DIR} /src/aws-cpp-sdk-core" )
@@ -374,6 +371,7 @@ target_include_directories(_aws SYSTEM BEFORE PUBLIC ${AWS_PUBLIC_INCLUDES})
374371target_include_directories (_aws SYSTEM BEFORE PRIVATE ${AWS_PRIVATE_INCLUDES} )
375372target_compile_definitions (_aws PUBLIC ${AWS_PUBLIC_COMPILE_DEFS} )
376373target_compile_definitions (_aws PRIVATE ${AWS_PRIVATE_COMPILE_DEFS} )
374+ target_compile_options (_aws PRIVATE "-O0" )
377375target_link_libraries (_aws PRIVATE ${AWS_PRIVATE_LIBS} )
378376
379377aws_set_thread_affinity_method (_aws )
You can’t perform that action at this time.
0 commit comments