mariadb: fix aarch64*

This commit is contained in:
Jürgen Buchmüller 2018-02-10 22:03:43 +01:00
parent e356dd7346
commit 0b343e891f

View file

@ -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() {