gnu: jumpnbump: Add -fcommon to CFLAGS.
* gnu/packages/games.scm (jumpnbump)[arguments]: Replace 'configure phase to add -fcommon to CFLAGS.master
parent
3e678de04c
commit
02296cb0c8
|
@ -9416,7 +9416,14 @@ simulator.")
|
||||||
#:tests? #f ;no test
|
#:tests? #f ;no test
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-after 'unpack 'fix-sdl-path
|
||||||
;; XXX: For some reason, `sdl2-config' reports stand-alone SDL
|
;; XXX: For some reason, `sdl2-config' reports stand-alone SDL
|
||||||
;; directory, not SDL-union provided as an input to the package.
|
;; directory, not SDL-union provided as an input to the package.
|
||||||
|
|
Reference in New Issue