mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Silent warnings about unused command line args when building ASM source
This commit is contained in:
parent
a9b37c0508
commit
677ca84824
@ -453,3 +453,7 @@ target_include_directories(icui18n SYSTEM PUBLIC ${ICU_SOURCE_DIR}/i18n/)
|
|||||||
|
|
||||||
target_compile_definitions(icuuc PRIVATE -DU_COMMON_IMPLEMENTATION)
|
target_compile_definitions(icuuc PRIVATE -DU_COMMON_IMPLEMENTATION)
|
||||||
target_compile_definitions(icui18n PRIVATE -DU_I18N_IMPLEMENTATION)
|
target_compile_definitions(icui18n PRIVATE -DU_I18N_IMPLEMENTATION)
|
||||||
|
|
||||||
|
if (COMPILER_CLANG)
|
||||||
|
target_compile_options(icudata PRIVATE -Wno-unused-command-line-argument)
|
||||||
|
endif ()
|
||||||
|
@ -27,6 +27,9 @@ elseif(ARCH_AARCH64)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
enable_language(ASM)
|
enable_language(ASM)
|
||||||
|
if (COMPILER_CLANG)
|
||||||
|
add_definitions(-Wno-unused-command-line-argument)
|
||||||
|
endif ()
|
||||||
|
|
||||||
if (ARCH_AMD64)
|
if (ARCH_AMD64)
|
||||||
macro(perl_generate_asm FILE_IN FILE_OUT)
|
macro(perl_generate_asm FILE_IN FILE_OUT)
|
||||||
|
@ -36,6 +36,10 @@ if (GLIBC_COMPATIBILITY)
|
|||||||
|
|
||||||
add_library(glibc-compatibility STATIC ${glibc_compatibility_sources})
|
add_library(glibc-compatibility STATIC ${glibc_compatibility_sources})
|
||||||
|
|
||||||
|
if (COMPILER_CLANG)
|
||||||
|
target_compile_options(glibc-compatibility PRIVATE -Wno-unused-command-line-argument)
|
||||||
|
endif ()
|
||||||
|
|
||||||
target_include_directories(glibc-compatibility PRIVATE libcxxabi ${musl_arch_include_dir})
|
target_include_directories(glibc-compatibility PRIVATE libcxxabi ${musl_arch_include_dir})
|
||||||
|
|
||||||
if (NOT USE_STATIC_LIBRARIES AND NOT MAKE_STATIC_LIBRARIES)
|
if (NOT USE_STATIC_LIBRARIES AND NOT MAKE_STATIC_LIBRARIES)
|
||||||
|
Loading…
Reference in New Issue
Block a user