diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 7960b7087a..bb7adf25a6 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -72,6 +72,7 @@ (define-module (gnu packages databases) #:use-module (gnu packages dbm) #:use-module (gnu packages emacs) #:use-module (gnu packages flex) + #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) @@ -779,6 +780,10 @@ (define-public mariadb #t)))))) (native-inputs `(("bison" ,bison) + ;; XXX: On armhf, use GCC 5 to work around . + ,@(if (string-prefix? "armhf" (%current-system)) + `(("gcc", gcc-5)) + '()) ("perl" ,perl))) (inputs `(("jemalloc" ,jemalloc)