mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 13:17:10 -05:00
gnu: jumpnbump: Add -fcommon to CFLAGS.
* gnu/packages/games.scm (jumpnbump)[arguments]: Replace 'configure phase to add -fcommon to CFLAGS.
This commit is contained in:
parent
3e678de04c
commit
02296cb0c8
1 changed files with 8 additions and 1 deletions
|
@ -9416,7 +9416,14 @@ (define-public jumpnbump
|
|||
#:tests? #f ;no test
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure) ;no configure script
|
||||
;; There is no configure script
|
||||
(replace 'configure
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("-funroll-loops")
|
||||
"-funroll-loops -fcommon")
|
||||
(("SDL_CFLAGS =")
|
||||
"SDL_CFLAGS = -fcommon"))))
|
||||
(add-after 'unpack 'fix-sdl-path
|
||||
;; XXX: For some reason, `sdl2-config' reports stand-alone SDL
|
||||
;; directory, not SDL-union provided as an input to the package.
|
||||
|
|
Loading…
Reference in a new issue