diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 6b76b6f2b8..3e52b4ec78 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1048,6 +1048,11 @@ (define-public abseil-cpp-20200923.3 "-DCMAKE_EXE_LINKER_FLAGS=-lgtest -lpthread -lgmock") #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-max + (lambda _ + (substitute* "absl/debugging/failure_signal_handler.cc" + (("std::max\\(SIGSTKSZ, 65536\\)") + "std::max(SIGSTKSZ, 65536)")))) (add-before 'configure 'remove-gtest-check ;; The CMakeLists fails to find our googletest for some reason, but ;; it works nonetheless.