mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Revert "fix compilation (std::variant with narrowing) with system libcxx"
This commit is contained in:
parent
575da23573
commit
b67c1ecffa
@ -246,13 +246,6 @@ set_source_files_properties(
|
||||
src/Common/SymbolIndex.cpp
|
||||
PROPERTIES COMPILE_FLAGS "-O3 ${WITHOUT_COVERAGE}")
|
||||
|
||||
# allow construction of std::variant<unsigned ...>(1) for Dwarf
|
||||
if (USE_LIBCXX AND NOT USE_INTERNAL_LIBCXX_LIBRARY)
|
||||
set_source_files_properties(src/Common/Dwarf.cpp PROPERTIES COMPILE_DEFINITIONS
|
||||
"_LIBCPP_ENABLE_NARROWING_CONVERSIONS_IN_VARIANT=1")
|
||||
endif ()
|
||||
|
||||
|
||||
target_link_libraries (clickhouse_common_io
|
||||
PUBLIC
|
||||
common
|
||||
|
Loading…
Reference in New Issue
Block a user