From af2143d7e53857aecdf66556b96807b1cba3376e Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 2 Jul 2017 21:41:14 +0200 Subject: [PATCH] mariadb: Fix i686 build with libatomic --- packages/mariadb/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mariadb/build.sh b/packages/mariadb/build.sh index 2a238d172..ffc228d23 100644 --- a/packages/mariadb/build.sh +++ b/packages/mariadb/build.sh @@ -63,7 +63,7 @@ termux_step_pre_configure () { if [ $TERMUX_ARCH = "i686" ]; then # Avoid undefined reference to __atomic_load_8: - LDFLAGS+=" -latomic" + CFLAGS+=" -latomic" fi }