diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index fad3e80ac44..5c6fbf027c8 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -4999,6 +4999,17 @@ This package expects the game(s) to be placed in subdirectories of "-DUSE_IPV6=FALSE") #:phases #~(modify-phases %standard-phases + (add-before 'configure 'gcc14 + (lambda _ + (setenv "CXXFLAGS" "-g -O2 -std=c++11") + (substitute* "lib/graphics_engine/include/vk_mem_alloc.h" + (("#define AMD_VULKAN_MEMORY_ALLOCATOR_H" all) + (string-append all "\n#include \n"))) + (substitute* + '("lib/graphics_engine/include/ge_main.hpp" + "lib/graphics_engine/include/ge_vulkan_driver.hpp") + (("#include " all) + (string-append all "\n#include "))))) (add-before 'configure 'disable-data-install (lambda _ (substitute* "CMakeLists.txt"