From 1eb9ea60f21a925a6660cb3ef1e27afac4a84ec4 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 2 Jul 2019 00:42:58 +0200 Subject: [PATCH] kakoune: Fix arm build --- packages/kakoune/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/kakoune/build.sh b/packages/kakoune/build.sh index c4b7852e7..f3ff3d5b2 100644 --- a/packages/kakoune/build.sh +++ b/packages/kakoune/build.sh @@ -7,3 +7,9 @@ TERMUX_PKG_SRCURL=https://github.com/mawww/kakoune/releases/download/v$TERMUX_PK TERMUX_PKG_DEPENDS="libc++, ncurses" TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_EXTRA_MAKE_ARGS=" -C src debug=no" + +termux_step_pre_configure() { + if [ $TERMUX_ARCH = "arm" ]; then + CXXFLAGS+=" -no-integrated-as" + fi +}