diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index c3eacea9c6..c6773cc20a 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -1388,7 +1388,10 @@ (define-public mergerfs (base32 "08gwi094ll0b7nf2i44fyjxiyvr45rp766npbdyw0yzyigas8a2f")))) (build-system gnu-build-system) (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 (modify-phases %standard-phases (delete 'configure) @@ -1408,7 +1411,9 @@ (define-public mergerfs (("= /usr/local") (string-append "= " (assoc-ref outputs "out"))) (("= /sbin") "= $(EXEC_PREFIX)/sbin") ;; cannot chown as build user - (("chown root(:root)?") "true")) + (("chown root(:root)?") "true") + ;; Breaks cross-compilation. + (("strip") "true")) #t))))) ;; mergerfs bundles a heavily modified copy of libfuse. (inputs `(("util-linux" ,util-linux)))