gnu: cross: Add default configure-flags.

Reported by Arun Isaac <arunisaac@systemreboot.net>.

* gnu/packages/cross-base.scm (cross)[arguments]: Add a default for
configure-flags so '--target=' is always added.
This commit is contained in:
Efraim Flashner 2022-09-20 11:26:12 +03:00
parent 4248fe076e
commit 5a9e3b7c39
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -70,7 +70,7 @@ (define (cross p target)
(name (string-append (package-name p) "-cross-" target)) (name (string-append (package-name p) "-cross-" target))
(arguments (arguments
(substitute-keyword-arguments (package-arguments p) (substitute-keyword-arguments (package-arguments p)
((#:configure-flags flags) ((#:configure-flags flags ''())
`(cons ,(string-append "--target=" target) `(cons ,(string-append "--target=" target)
,flags)))))) ,flags))))))