mirror of
https://github.com/google/benchmark.git
synced 2025-01-13 13:20:13 +08:00
Disable lto-type-mismatch warnings (#1071)
This commit is contained in:
parent
37ced31bfc
commit
7fa6f1f91a
@ -194,6 +194,7 @@ else()
|
||||
# Link time optimisation
|
||||
if (BENCHMARK_ENABLE_LTO)
|
||||
add_cxx_compiler_flag(-flto)
|
||||
add_cxx_compiler_flag(-Wno-lto-type-mismatch)
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
find_program(GCC_AR gcc-ar)
|
||||
if (GCC_AR)
|
||||
|
Loading…
Reference in New Issue
Block a user