gnu: freedroidrpg: Fix build with GCC 10.

* gnu/packages/games.scm (freedroidrpg)[arguments]: Add ‘-fcommon’
to #:configure-flags' CFLAGS.
This commit is contained in:
Tobias Geerinckx-Rice 2022-01-16 01:00:00 +01:00
parent 10be314cd8
commit ab5d31c53e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1363,6 +1363,7 @@ (define-public freedroidrpg
`(#:configure-flags
(list
(string-append "CFLAGS="
"-fcommon " ; XXX needed to build with GCC 10
"-I" (assoc-ref %build-inputs "sdl-gfx") "/include/SDL "
"-I" (assoc-ref %build-inputs "sdl-image") "/include/SDL "
"-I" (assoc-ref %build-inputs "sdl-mixer") "/include/SDL")