aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-03-07 22:40:51 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-03-07 22:53:57 +0200
commitb657f062bba7f7c11c8c039a2fd401c19174fbd1 (patch)
tree2987afddc3d562f6dd9e8946a54034dd942b49f4
parent67d6544b6dfacca4abf6390c64cd6cb98c52a498 (diff)
downloadguix-b657f062bba7f7c11c8c039a2fd401c19174fbd1.tar
guix-b657f062bba7f7c11c8c039a2fd401c19174fbd1.tar.gz
gnu: libcap: Fix cross-compiling.
* gnu/packages/linux.scm (libcap)[arguments]: Fix make-flags when cross-compiling.
-rw-r--r--gnu/packages/linux.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2a69ba1447..d26239ea66 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2945,9 +2945,9 @@ configuration (iptunnel, ipmaddr).")
;; Tell the makefile to use TARGET-gcc and friends
;; when cross-compiling.
#$@(if (%current-target-system)
- `((list (string-append "CROSS_COMPILE="
- ,(%current-target-system) "-")
- "BUILD_CC=gcc"))
+ `((string-append "CROSS_COMPILE="
+ ,(%current-target-system) "-")
+ "BUILD_CC=gcc")
'()))))
(native-inputs (list perl))
(supported-systems (delete "i586-gnu" %supported-systems))