From 0b343e891f4e7f8f3add81a61f897caaf0e4f0aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 10 Feb 2018 22:03:43 +0100 Subject: [PATCH] mariadb: fix aarch64* --- srcpkgs/mariadb/template | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template index b7e0187d387..58719d72ee6 100644 --- a/srcpkgs/mariadb/template +++ b/srcpkgs/mariadb/template @@ -40,9 +40,6 @@ case "$XBPS_TARGET_MACHINE" in hostmakedepends+=" libatomic-devel" makedepends+=" libatomic-devel" ;; - aarch64*) - broken="https://github.com/voidlinux/void-packages/pull/10910" - ;; esac pre_configure() { @@ -75,6 +72,12 @@ pre_build() { export PATH=${PATH}:${wrksrc}/extra:${wrksrc}/scripts:${wrksrc}/sql fi export LD_LIBRARY_PATH=${wrksrc}/build/storage/tokudb/ft-index/portability + case "$XBPS_TARGET_MACHINE" in + aarch64*) # Work around GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81228 + sed -i build/storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/flags.make \ + -e "s; -O3;;g" + ;; + esac } post_install() {