aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/databases.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 8a199be6e7..c187c002f1 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -99,6 +99,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system r)
#:use-module (guix utils)
+ #:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
#:use-module (ice-9 match))
@@ -405,6 +406,12 @@ applications.")
(let ((common-options
`(;; "--use-system-tcmalloc" TODO: Missing gperftools
"--use-system-pcre"
+ ;; wiredtiger is 64-bit only
+ ,,(if (any (cute string-prefix? <> (or (%current-target-system)
+ (%current-system)))
+ '("i686-linux" "armhf-linux"))
+ ``"--wiredtiger=off"
+ ``"--wiredtiger=on")
;; TODO
;; build/opt/mongo/db/fts/unicode/string.o failed: Error 1
;; --use-system-boost