Subject: [bug#52962] [PATCH] gnu: gcompris: Fix build with GCC 10.

From: Felix Gruber <[email-masked]>
Date: Sun, 2 Jan 2022 17:45:37 +0000

* gnu/packages/education.scm (gcompris)[arguments]: Add -fcommon to
  CFLAGS.
---
 gnu/packages/education.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index efb2df474e..cf1236a90f 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -96,6 +96,8 @@
        ;; of Gstreamer.
        (list "--enable-sdlmixer"
              "LDFLAGS=-lgmodule-2.0")
+       #:make-flags
+       (list "CFLAGS=-fcommon")
        #:phases
        (modify-phases %standard-phases
          (add-after 'set-paths 'set-sdl-paths
-- 
2.30.2