summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-07-27 23:21:34 +0200
committerAndreas Enge <andreas@enge.fr>2025-07-27 23:27:38 +0200
commit2b6013a5579fd165dfece29115e358c5ee0cc248 (patch)
treefd611824445f0ab52b833f6a94b68c81ac6ea4e8
parented8288a53da9951ed66a6b725246971585e9fac5 (diff)
gnu: raylib: Fix build with gcc-14.
* gnu/packages/game-development.scm (raylib)[arguments]<#:configure-flags>: Add -Wno-error= to CMAKE_C_FLAGS. Fixes: guix/guix#1606 Change-Id: I012a23a4faa53168cb7727ce7dad1bff45dd5848
-rw-r--r--gnu/packages/game-development.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index d1642fa59a..9e2ea881bd 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -3714,7 +3714,8 @@ progresses the level, or you may regenerate tiles as the world changes.")
#:configure-flags
#~(list "-DBUILD_SHARED_LIBS=ON"
"-DUSE_EXTERNAL_GLFW=ON"
- "-DCMAKE_C_FLAGS=-lpulse")
+ (string-append "-DCMAKE_C_FLAGS=-lpulse "
+ "-Wno-error=incompatible-pointer-types"))
#:phases
#~(modify-phases %standard-phases
(add-before 'configure 'configure-miniaudio