From b657f062bba7f7c11c8c039a2fd401c19174fbd1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 7 Mar 2022 22:40:51 +0200 Subject: [PATCH] gnu: libcap: Fix cross-compiling. * gnu/packages/linux.scm (libcap)[arguments]: Fix make-flags when cross-compiling. --- gnu/packages/linux.scm | 6 +++--- 1 file 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 @@ (define-public libcap ;; 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))