gnu: retroarch: Fix building on armhf-linux.
* gnu/packages/emulators.scm (retroarch)[arguments]: Add custom flags when building for armhf-linux.
This commit is contained in:
parent
fade67ab75
commit
f21967a44b
|
@ -1066,7 +1066,7 @@ (define-public retroarch
|
||||||
(base32 "0h6y2hpjg4b470jvn9ghwp0k3a527sbb6xhia17frlm9w9v5028w"))))
|
(base32 "0h6y2hpjg4b470jvn9ghwp0k3a527sbb6xhia17frlm9w9v5028w"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
|
@ -1086,10 +1086,14 @@ (define-public retroarch
|
||||||
(("<compat/zlib.h>") "<zlib.h>"))
|
(("<compat/zlib.h>") "<zlib.h>"))
|
||||||
;; The configure script does not yet accept the extra arguments
|
;; The configure script does not yet accept the extra arguments
|
||||||
;; (like ‘CONFIG_SHELL=’) passed by the default configure phase.
|
;; (like ‘CONFIG_SHELL=’) passed by the default configure phase.
|
||||||
(zero? (system*
|
(invoke
|
||||||
"./configure"
|
"./configure"
|
||||||
(string-append "--prefix=" out)
|
,@(if (string-prefix? "armhf" (or (%current-target-system)
|
||||||
(string-append "--global-config-dir=" etc)))))))))
|
(%current-system)))
|
||||||
|
'("--enable-neon" "--enable-floathard")
|
||||||
|
'())
|
||||||
|
(string-append "--prefix=" out)
|
||||||
|
(string-append "--global-config-dir=" etc))))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("alsa-lib" ,alsa-lib)
|
`(("alsa-lib" ,alsa-lib)
|
||||||
("ffmpeg" ,ffmpeg)
|
("ffmpeg" ,ffmpeg)
|
||||||
|
|
Loading…
Reference in a new issue