gnu: grafx2: Build with '-fcommon'.

* gnu/packages/game-development.scm (grafx2)[arguments]: Add '-fcommon'
to #:make-flags.
This commit is contained in:
Ludovic Courtès 2021-11-20 22:25:04 +01:00
parent c34bb6b310
commit 83010a08bc
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1625,7 +1625,8 @@ (define-public grafx2
;; SDL header files are referenced without the preceeding "SDL/".
(list (string-append "CFLAGS=-I"
(assoc-ref %build-inputs "sdl-union")
"/include/SDL")
"/include/SDL"
" -fcommon")
(string-append "prefix="
(assoc-ref %outputs "out")))
#:tests? #f)) ; no check target