srb2kart: fix build with gcc15

This commit is contained in:
Francis Gagné
2026-01-04 18:44:44 -05:00
parent 414c08a46d
commit db8d7da31f
+3
View File
@@ -55,6 +55,9 @@ stdenv.mkDerivation (finalAttrs: {
zlib
];
# Fix build with gcc15 (-std=gnu23)
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
cmakeFlags = [
"-DSRB2_ASSET_DIRECTORY=${finalAttrs.assets}"
"-DGME_INCLUDE_DIR=${game-music-emu}/include"