git-lfs: support for on-device builds
This commit is contained in:
parent
536e9dec56
commit
b571340e5b
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user