Subject: [PATCH core-updates-frozen] gnu: chocolate-doom: Fix compilation with GCC 10.
From: Felix Gruber <[email-masked]>
To: [email-masked]
Cc: Felix Gruber <[email-masked]>
Date: Sat, 11 Sep 2021 19:50:20 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/games.scm (chocolate-doom)[arguments]: Pass '-fcommon' to
  CFLAGS.
---
 gnu/packages/games.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index e60987d834..410dccafdc 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -7467,6 +7467,8 @@ online.")
                (base32
                 "1iy8rx7kjvi1zjiw4zh77szzmd1sgpqajvbhprh1sj93fhbxcdfl"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags (list "CFLAGS=-fcommon")))
     (inputs `(("sdl2-net" ,sdl2-net)
               ("sdl2-mixer" , sdl2-mixer)
               ("sdl2" ,sdl2)))
-- 
2.30.2