From 0063ca5d1fca5a7935b95f90ec0529ede294536c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fahller?= Date: Mon, 9 Sep 2024 21:42:11 +0200 Subject: [PATCH] Ensure benchmark is build using libc++ --- common/install-benchmark.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/install-benchmark.sh b/common/install-benchmark.sh index 73d8853..fe99ad7 100755 --- a/common/install-benchmark.sh +++ b/common/install-benchmark.sh @@ -21,11 +21,11 @@ do -DCMAKE_CXX_COMPILER=${CXX} \ -DCMAKE_CXX_STANDARD=${STD} \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ - -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS} -Wno-error=shadow" \ -DCMAKE_BUILD_TYPE=Release \ -DHAVE_STD_REGEX=ON \ -DBENCHMARK_ENABLE_TESTING=NO \ - -DCMAKE_CXX_FLAGS="-Wno-error=shadow" \ + -DCMAKE_VERBOSE_MAKEFILE=yes \ -S benchmark_src \ -G Ninja && cmake --build build && cmake --install build && rm -r build