diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 449340f331..e09a7bd82a 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -621,9 +621,14 @@ (define-public catch2-3 (arguments (list #:configure-flags - #~(list "-DCATCH_DEVELOPMENT_BUILD=ON" + #~(list "-DCMAKE_CXX_COMPILER=clang++" ; tests fail with gcc-11 on i686 + "-DCMAKE_CXX_STANDARD=14" + "-DCMAKE_CXX_STANDARD_REQUIRED=ON" + "-DCMAKE_CXX_EXTENSIONS=OFF" + "-DCATCH_DEVELOPMENT_BUILD=ON" "-DCATCH_ENABLE_WERROR=OFF" "-DBUILD_SHARED_LIBS=ON"))) + (native-inputs (list clang-10)) (inputs (list python-wrapper)) (synopsis "Automated test framework for C++ and Objective-C") (description "Catch2 stands for C++ Automated Test Cases in Headers and is