gnu: gcompris: Fix build with GCC 10.

* gnu/packages/education.scm (gcompris)[arguments]: Add -fcommon to CFLAGS.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Felix Gruber 2022-01-02 17:45:37 +00:00 committed by Leo Famulari
parent dfc5d5247f
commit 01ec5efff7
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -96,6 +96,8 @@ (define-public gcompris
;; 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