[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25954: [PATCH] build-system/cargo (cargo-build): Add cargo-build-fla
From: |
Danny Milosavljevic |
Subject: |
bug#25954: [PATCH] build-system/cargo (cargo-build): Add cargo-build-flags, remove configure-flags. |
Date: |
Fri, 3 Mar 2017 18:17:28 +0100 |
* guix/build-system/cargo.scm (cargo-build): Add cargo-build-flags,
remove configure-flags.
---
guix/build-system/cargo.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/build-system/cargo.scm b/guix/build-system/cargo.scm
index 578c4446a..c637fbb16 100644
--- a/guix/build-system/cargo.scm
+++ b/guix/build-system/cargo.scm
@@ -64,7 +64,7 @@ to NAME and VERSION."
#:key
(tests? #t)
(test-target #f)
- (configure-flags #f)
+ (cargo-build-flags ''("--release"))
(phases '(@ (guix build cargo-build-system)
%standard-phases))
(outputs '("out"))
@@ -89,6 +89,7 @@ to NAME and VERSION."
source))
#:system ,system
#:test-target ,test-target
+ #:cargo-build-flags ,cargo-build-flags
#:tests? ,tests?
#:phases ,phases
#:outputs %outputs
- bug#25954: [PATCH] build-system/cargo (cargo-build): Add cargo-build-flags, remove configure-flags.,
Danny Milosavljevic <=