From b571340e5b3b974881d7e0b4b8f7c591dac4c905 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Tue, 13 Aug 2019 13:26:50 +0300 Subject: [PATCH] git-lfs: support for on-device builds --- packages/git-lfs/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/git-lfs/build.sh b/packages/git-lfs/build.sh index 915f7ebf3..aefb4bd18 100644 --- a/packages/git-lfs/build.sh +++ b/packages/git-lfs/build.sh @@ -14,7 +14,7 @@ termux_step_make() { ln -sf "$TERMUX_PKG_SRCDIR" "$GOPATH"/github.com/git-lfs/git-lfs cd "$GOPATH"/github.com/git-lfs/git-lfs - GOOS=linux GOARCH=amd64 CC=gcc LD=gcc go generate github.com/git-lfs/git-lfs/commands + ! $TERMUX_ON_DEVICE_BUILD && GOOS=linux GOARCH=amd64 CC=gcc LD=gcc go generate github.com/git-lfs/git-lfs/commands go build git-lfs.go }