osrm-backend: evade -Werror, fix build (#431628)

This commit is contained in:
Yohann Boniface
2025-08-07 22:12:16 +02:00
committed by GitHub
+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