osrm-backend: evade -Werror, fix build

This commit is contained in:
Julius Michaelis
2025-08-07 09:09:39 +09:00
parent 0bd24b5307
commit 3af30070e6
+6 -2
View File
@@ -45,8 +45,12 @@ stdenv.mkDerivation rec {
expat
];
# Needed with GCC 12
env.NIX_CFLAGS_COMPILE = "-Wno-error=uninitialized";
env.NIX_CFLAGS_COMPILE = toString [
# Needed with GCC 12
"-Wno-error=uninitialized"
# Needed with GCC 14
"-Wno-error=maybe-uninitialized"
];
postInstall = ''
mkdir -p $out/share/osrm-backend