aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/compression.scm
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-08-23 22:40:57 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-08-23 22:40:57 +0800
commit7049a36127bc750d2638c83881f30dc13cc84dc5 (patch)
treecd0edcbdee2a75b410721c54c80c4d9f76bb63d9 /gnu/packages/compression.scm
parent53706555a9cb7005c2611eed55d8ff95f7fdf49e (diff)
downloadguix-7049a36127bc750d2638c83881f30dc13cc84dc5.tar.gz
guix-7049a36127bc750d2638c83881f30dc13cc84dc5.zip
gnu: plzip: Fix cross-compilation.
* gnu/packages/compression.scm (plzip)[arguments]<#:configure-flags>: Use CXX-FOR-TARGET. Change-Id: I03edf1a3758cbcf1254b8edc7f532e772a041fcb
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r--gnu/packages/compression.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 60dc0a4886..6bb3c3b215 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -41,6 +41,7 @@
;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2024 David Elsing <david.elsing@posteo.net>
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2244,6 +2245,9 @@ corrupted input.")
(sha256
(base32 "0sv2sp0ppxkdds4qiwb3ddvlv22ydv61n3hk74rkh8ljbkjcpqyq"))))
(build-system gnu-build-system)
+ (arguments
+ (list #:configure-flags
+ #~(list (string-append "CXX=" #$(cxx-for-target)))))
(inputs
(list lzlib))
(home-page "https://www.nongnu.org/lzip/plzip.html")