gnu: plzip: Fix cross-compilation.

* gnu/packages/compression.scm (plzip)[arguments]<#:configure-flags>: Use
CXX-FOR-TARGET.

Change-Id: I03edf1a3758cbcf1254b8edc7f532e772a041fcb
This commit is contained in:
Zheng Junjie 2024-08-23 22:40:57 +08:00
parent 53706555a9
commit 7049a36127
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -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")