libretro.play: workaround issue with GCC13

This commit is contained in:
Thiago Kenji Okada 2024-02-04 19:18:22 +00:00
parent 4227238abc
commit e24c0a337c

View File

@ -828,6 +828,9 @@ in
makefile = "Makefile";
cmakeFlags = [ "-DBUILD_PLAY=OFF" "-DBUILD_LIBRETRO_CORE=ON" ];
postBuild = "cd Source/ui_libretro";
# FIXME: workaround the following GCC 13 error:
# error: 'printf' was not declared in this scop
CXXFLAGS = "-include cstdio";
meta = {
description = "Port of Play! to libretro";
license = lib.licenses.bsd2;