mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-02 16:17:27 +01:00
gnu: mergerfs: Cross-compile.
* gnu/packages/file-systems.scm (mergerfs)[arguments]: Use CC-FOR-TARGET and CXX-FOR-TARGET. Don't let the Makefile strip binaries.
This commit is contained in:
parent
73a2edf25b
commit
5f071925ef
1 changed files with 7 additions and 2 deletions
|
@ -1388,7 +1388,10 @@ (define-public mergerfs
|
||||||
(base32 "08gwi094ll0b7nf2i44fyjxiyvr45rp766npbdyw0yzyigas8a2f"))))
|
(base32 "08gwi094ll0b7nf2i44fyjxiyvr45rp766npbdyw0yzyigas8a2f"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; No tests exist.
|
`(#:make-flags
|
||||||
|
(list (string-append "CC=" ,(cc-for-target))
|
||||||
|
(string-append "CXX=" ,(cxx-for-target)))
|
||||||
|
#:tests? #f ; No tests exist.
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
|
@ -1408,7 +1411,9 @@ (define-public mergerfs
|
||||||
(("= /usr/local") (string-append "= " (assoc-ref outputs "out")))
|
(("= /usr/local") (string-append "= " (assoc-ref outputs "out")))
|
||||||
(("= /sbin") "= $(EXEC_PREFIX)/sbin")
|
(("= /sbin") "= $(EXEC_PREFIX)/sbin")
|
||||||
;; cannot chown as build user
|
;; cannot chown as build user
|
||||||
(("chown root(:root)?") "true"))
|
(("chown root(:root)?") "true")
|
||||||
|
;; Breaks cross-compilation.
|
||||||
|
(("strip") "true"))
|
||||||
#t)))))
|
#t)))))
|
||||||
;; mergerfs bundles a heavily modified copy of libfuse.
|
;; mergerfs bundles a heavily modified copy of libfuse.
|
||||||
(inputs `(("util-linux" ,util-linux)))
|
(inputs `(("util-linux" ,util-linux)))
|
||||||
|
|
Loading…
Reference in a new issue