gnu: mariadb: Build with GCC 5 on ARMv7.

Fixes <https://bugs.gnu.org/37605>.

* gnu/packages/databases.scm (mariadb)[native-inputs]: Add GCC-5 when the
current system is ARMv7.
This commit is contained in:
Marius Bakke 2019-10-08 10:16:04 +02:00
parent 4d8d2fbaf3
commit 2fa55c7247
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,7 @@
#: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 @@ Language.")
#t))))))
(native-inputs
`(("bison" ,bison)
;; XXX: On armhf, use GCC 5 to work around <https://bugs.gnu.org/37605>.
,@(if (string-prefix? "armhf" (%current-system))
`(("gcc", gcc-5))
'())
("perl" ,perl)))
(inputs
`(("jemalloc" ,jemalloc)