about summary refs log tree commit diff
path: root/pkgs/applications/emulators/retroarch/cores.nix
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2024-02-04 19:18:22 +0000
committerThiago Kenji Okada <thiagokokada@gmail.com>2024-02-04 20:23:45 +0000
commite24c0a337c205c9df5dacf6a9690d7aa0cdfd339 (patch)
treef446a5620db18a6c5b98804f19bd3111932fb9be /pkgs/applications/emulators/retroarch/cores.nix
parent4227238abcd4a1e8e29d8bc292b9e8f4b8907361 (diff)
libretro.play: workaround issue with GCC13
Diffstat (limited to 'pkgs/applications/emulators/retroarch/cores.nix')
-rw-r--r--pkgs/applications/emulators/retroarch/cores.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix
index 6bc6d4ecc2c75..ef6096b4c4b2b 100644
--- a/pkgs/applications/emulators/retroarch/cores.nix
+++ b/pkgs/applications/emulators/retroarch/cores.nix
@@ -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;