From d947842bfb8cf8e119f6a774d45b8ba9d37de329 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 8 Apr 2018 23:34:43 +0200 Subject: [PATCH] Add comment about fix in ndk r17 --- packages/libgit2/build.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/libgit2/build.sh b/packages/libgit2/build.sh index f767c854..a622b65a 100644 --- a/packages/libgit2/build.sh +++ b/packages/libgit2/build.sh @@ -6,9 +6,11 @@ TERMUX_PKG_SRCURL=https://github.com/libgit2/libgit2/archive/v${TERMUX_PKG_VERSI TERMUX_PKG_DEPENDS="libcurl, openssl" TERMUX_PKG_REVISION=1 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DBUILD_CLAR=OFF" + termux_step_pre_configure() { -# fixes for arm https://github.com/android-ndk/ndk/issues/642 + # Fixes for arm https://github.com/android-ndk/ndk/issues/642 + # Can be removed after updating to NDK r17. if [ $TERMUX_ARCH = "arm" ]; then - CFLAGS+=" -mllvm -arm-promote-constant=0" -fi + CFLAGS+=" -mllvm -arm-promote-constant=0" + fi } -- 2.11.0