gnu: chocolate-doom: Fix compilation with GCC 10.

* gnu/packages/games.scm (chocolate-doom)[arguments]: Pass '-fcommon' to
  CFLAGS.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
Felix Gruber 2021-09-11 19:50:20 +00:00 committed by Guillaume Le Vaillant
parent 99a7bc993d
commit 58d3c8bb1e
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -7467,6 +7467,8 @@ (define-public chocolate-doom
(base32
"1iy8rx7kjvi1zjiw4zh77szzmd1sgpqajvbhprh1sj93fhbxcdfl"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list "CFLAGS=-fcommon")))
(inputs `(("sdl2-net" ,sdl2-net)
("sdl2-mixer" , sdl2-mixer)
("sdl2" ,sdl2)))