summary refs log tree commit diff
path: root/gnu/packages/guile.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-01-23 09:17:17 +0100
committerLudovic Courtès <ludo@gnu.org>2020-01-23 11:26:55 +0100
commit6e6aab0b6af0bf60b2c7276fa9ee6ca6da9aef88 (patch)
treeeca68bee51e8ee7895c2ac06ee339c3c23b4a4c1 /gnu/packages/guile.scm
parentf79313b3871ebe204c7b29fdb823666af06f48ff (diff)
downloadguix-6e6aab0b6af0bf60b2c7276fa9ee6ca6da9aef88.tar.gz
gnu: guile-next: Disable JIT on armhf-linux.
* gnu/packages/guile.scm (guile-3.0)[arguments]: New field.
Diffstat (limited to 'gnu/packages/guile.scm')
-rw-r--r--gnu/packages/guile.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index c8c44b7fcb..289158ea1b 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -296,6 +296,14 @@ without requiring the source code to be rewritten.")
               (sha256
                (base32
                 "0x8ca6q1qdmk29lh12gj6ngvgn7kp79w42rxfgwrpxm9jmjqs4y9"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments guile-2.2)
+       ;; XXX: On ARMv7, work around <https://bugs.gnu.org/39208> by disabling
+       ;; JIT.
+       ((#:configure-flags flags '())
+        (if (target-arm32?)
+            `(cons "--disable-jit" ,flags)
+            flags))))
     (native-search-paths
      (list (search-path-specification
             (variable "GUILE_LOAD_PATH")