aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-01-08 10:45:01 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-01-08 12:29:40 +0200
commit49fe965d28d497f234b032e9a170fb0b503d0204 (patch)
tree031c999cc3ba9753007b633e5a73fe024f129b9d
parentb50938108947d47c9e3d37608df83a11020a4d8d (diff)
downloadgnu-guix-49fe965d28d497f234b032e9a170fb0b503d0204.tar
gnu-guix-49fe965d28d497f234b032e9a170fb0b503d0204.tar.gz
gnu: criu: Fix building on armhf-linux.
* gnu/packages/virtualization.scm (criu)[arguments]: Hardcode the arm version in the Makefile.
-rw-r--r--gnu/packages/virtualization.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 274f827cd9..be3c3aaa76 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2018. 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2017 Andy Patterson <ajpatter@uwaterloo.ca>
@@ -681,6 +681,9 @@ domains, their live performance and resource utilization statistics.")
(string-append (assoc-ref inputs "libnl")
"/include/libnl3:"
(getenv "C_INCLUDE_PATH")))
+ ;; Hardcode arm version detection
+ (substitute* "Makefile"
+ (("ARMV.*:=.*") "ARMV := 7\n"))
;; Prevent xmlto from failing the install phase.
(substitute* "Documentation/Makefile"
(("XMLTO.*:=.*")