Revert "fix compilation (std::variant with narrowing) with system libcxx"

This commit is contained in:
alexey-milovidov 2019-12-12 21:55:12 +03:00 committed by GitHub
parent 575da23573
commit b67c1ecffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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