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

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