mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
owl: fix build with gcc 15 (#522833)
This commit is contained in:
@@ -32,6 +32,9 @@ stdenv.mkDerivation {
|
||||
--replace-fail "cmake_minimum_required(VERSION 2.8.8)" "cmake_minimum_required(VERSION 3.10)"
|
||||
substituteInPlace googletest/{googlemock,googletest}/CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 2.6.4)" "cmake_minimum_required(VERSION 3.10)"
|
||||
|
||||
# https://gcc.gnu.org/gcc-15/porting_to.html#header-dep-changes
|
||||
sed -e '1i #include <cstdint>' -i googletest/googletest/src/gtest-death-test.cc
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user