valhalla: fix build with gcc 12

This commit is contained in:
Tom Hall
2023-08-24 23:12:59 +01:00
parent f3961adf6a
commit 58f7dcd5c8
@@ -44,6 +44,11 @@ stdenv.mkDerivation (finalAttrs: {
"-DENABLE_BENCHMARKS=OFF"
];
env.NIX_CFLAGS_COMPILE = toString [
# Needed for date submodule with GCC 12 https://github.com/HowardHinnant/date/issues/750
"-Wno-error=stringop-overflow"
];
buildInputs = [
boost
curl