* Ensure reported Time is walltime by removing spurious scaling by threads (#1836) * Update clang-format-lint-action (#1829) * Cache upd (#1830) * Move ProfilerManager Start/Stop routines closer to actual benchmark #1807 (#1818) * Bump nanobind-bazel to v2.1.0, add stubgen target (#1824) * Update nanobind into benchmark_deps.bzl (#1826) * Update libs into .pre-commit-config.yaml (#1825) * Use log2 now that NDK requires at least API 21 which includes it. (#1822) * Suppress invalid-offsetof warning for clang (#1821) * Update benchmark Python bindings for nanobind 2.0, and update to nanobind 2.0. (#1817) OBS-URL: https://build.opensuse.org/package/show/devel:tools/benchmark?expand=0&rev=53
13 lines
423 B
Diff
13 lines
423 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index b8852e4..4363fa1 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -238,6 +238,7 @@ else()
|
|
if (BENCHMARK_ENABLE_LTO)
|
|
add_cxx_compiler_flag(-flto)
|
|
add_cxx_compiler_flag(-Wno-lto-type-mismatch)
|
|
+ add_cxx_compiler_flag(-Wno-error=maybe-uninitialized)
|
|
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
|
find_program(GCC_AR gcc-ar)
|
|
if (GCC_AR)
|