From 98249bc2b6f217fafb143e10674a82b48ed9b7d5 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Wed, 18 Sep 2019 17:01:54 +0300 Subject: [PATCH] mariadb: blacklist i686 builds Compilation errors: In file included from /home/builder/.termux-build/mariadb/src/include/my_sys.h:34: /home/builder/.termux-build/mariadb/src/include/my_pthread.h:822:10: error: use of undeclared identifier 'my_atomic_add32' No patch available currently. --- packages/mariadb/build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/mariadb/build.sh b/packages/mariadb/build.sh index 661e666a8..9efa3e27c 100644 --- a/packages/mariadb/build.sh +++ b/packages/mariadb/build.sh @@ -9,6 +9,16 @@ TERMUX_PKG_DEPENDS="libc++, libiconv, liblzma, ncurses, libedit, openssl, pcre, TERMUX_PKG_BREAKS="mariadb-dev" TERMUX_PKG_REPLACES="mariadb-dev" +# Fails on i686 with: +# +#/home/builder/.termux-build/mariadb/src/include/my_pthread.h:822:10: error: use of undeclared identifier 'my_atomic_add32' +# (void) my_atomic_add32_explicit(value, 1, MY_MEMORY_ORDER_RELAXED); +# ^ +#/home/builder/.termux-build/mariadb/src/include/my_atomic.h:153:43: note: expanded from macro 'my_atomic_add32_explicit' +#define my_atomic_add32_explicit(P, A, O) my_atomic_add32((P), (A)) +# +TERMUX_PKG_BLACKLISTED_ARCHES="i686" + TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DBISON_EXECUTABLE=$(which bison) -DGETCONF=$(which getconf)