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:
parent
4d8d2fbaf3
commit
2fa55c7247
1 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,7 @@ (define-module (gnu packages databases)
|
||||||
#:use-module (gnu packages dbm)
|
#:use-module (gnu packages dbm)
|
||||||
#:use-module (gnu packages emacs)
|
#:use-module (gnu packages emacs)
|
||||||
#:use-module (gnu packages flex)
|
#:use-module (gnu packages flex)
|
||||||
|
#:use-module (gnu packages gcc)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
#:use-module (gnu packages glib)
|
#:use-module (gnu packages glib)
|
||||||
#:use-module (gnu packages gnupg)
|
#:use-module (gnu packages gnupg)
|
||||||
|
@ -779,6 +780,10 @@ (define-public mariadb
|
||||||
#t))))))
|
#t))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("bison" ,bison)
|
`(("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)))
|
("perl" ,perl)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("jemalloc" ,jemalloc)
|
`(("jemalloc" ,jemalloc)
|
||||||
|
|
Loading…
Reference in a new issue