aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-02-01 11:48:19 +0300
committerCem Keylan <cem@ckyln.com>2021-02-01 11:48:19 +0300
commitb3a4a9f56c7ec8b1053deabae236393d4947a942 (patch)
tree6ba2910a9fbd8becd57315fcd361f2e4266018c4
parenta40a7a4838b69edfb64a8d62b0f1b9eebbac4c8d (diff)
downloadrepository-b3a4a9f56c7ec8b1053deabae236393d4947a942.tar.gz
lf: disable cgo
-rwxr-xr-xcommunity/lf/build2
1 files changed, 1 insertions, 1 deletions
diff --git a/community/lf/build b/community/lf/build
index dcba8c81..b684eb8d 100755
--- a/community/lf/build
+++ b/community/lf/build
@@ -4,5 +4,5 @@ export GOPATH=$PWD/gopath
trap "go clean -modcache" EXIT INT
go mod vendor
-go build
+CGO_ENABLED=0 go build
install -Dm755 lf "$1/usr/bin/lf"