GNU bug report logs - #50524
[PATCH core-updates-frozen] gnu: chocolate-doom: Fix compilation with GCC 10.

Previous Next

Package: guix-patches;

Reported by: Felix Gruber <felgru <at> posteo.net>

Date: Sat, 11 Sep 2021 19:51:01 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Felix Gruber <felgru <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Felix Gruber <felgru <at> posteo.net>
Subject: [PATCH core-updates-frozen] gnu: chocolate-doom: Fix compilation with
 GCC 10.
Date: Sat, 11 Sep 2021 19:50:20 +0000
* 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





This bug report was last modified 3 years and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.