summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-03-24 21:06:44 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-03-24 21:07:59 +0200
commit650bb580df3c9b1654a0e7ad97fe750350546198 (patch)
tree1253b084c03e422bfa7297f95f01b6fae2004221
parent03bf951f7032c6592b576001c8800e7cbe056580 (diff)
downloadguix-650bb580df3c9b1654a0e7ad97fe750350546198.tar.gz
gnu: ddrescue: Support cross compiling.
* gnu/packages/disk.scm (ddrescue)[arguments]: Add configure-flag to
fix cross compiling.
-rw-r--r--gnu/packages/disk.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index ed112f2ec2..b89da87967 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2015 Mathieu Lirzin <mthl@gnu.org>
 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2016, 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2016, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
@@ -363,6 +363,8 @@ scheme.")
       (sha256
        (base32 "0qqh38izl5ppap9a5izf3hijh94k65s3zbfkczd4b7x04syqwlyf"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags (list (string-append "CXX=" ,(cxx-for-target)))))
     (home-page "https://www.gnu.org/software/ddrescue/ddrescue.html")
     (synopsis "Data recovery utility")
     (native-inputs `(("lzip" ,lzip)))