gnu: libcap: Fix cross-compiling.

* gnu/packages/linux.scm (libcap)[arguments]: Fix make-flags when
cross-compiling.
This commit is contained in:
Efraim Flashner 2022-03-07 22:40:51 +02:00
parent 67d6544b6d
commit b657f062bb
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2945,9 +2945,9 @@ (define-public libcap
;; Tell the makefile to use TARGET-gcc and friends ;; Tell the makefile to use TARGET-gcc and friends
;; when cross-compiling. ;; when cross-compiling.
#$@(if (%current-target-system) #$@(if (%current-target-system)
`((list (string-append "CROSS_COMPILE=" `((string-append "CROSS_COMPILE="
,(%current-target-system) "-") ,(%current-target-system) "-")
"BUILD_CC=gcc")) "BUILD_CC=gcc")
'())))) '()))))
(native-inputs (list perl)) (native-inputs (list perl))
(supported-systems (delete "i586-gnu" %supported-systems)) (supported-systems (delete "i586-gnu" %supported-systems))