mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 14:13:36 +00:00
04809d6cb0
cgo is required to go 1.22
8cd359112e
16 lines
453 B
Diff
16 lines
453 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -29,10 +29,10 @@
|
|
go vet ./...
|
|
|
|
frps:
|
|
- env CGO_ENABLED=0 go build -trimpath -ldflags "$(LDFLAGS)" -tags frps -o bin/frps ./cmd/frps
|
|
+ env go build -trimpath -ldflags "$(LDFLAGS)" -tags frps -o bin/frps ./cmd/frps
|
|
|
|
frpc:
|
|
- env CGO_ENABLED=0 go build -trimpath -ldflags "$(LDFLAGS)" -tags frpc -o bin/frpc ./cmd/frpc
|
|
+ env go build -trimpath -ldflags "$(LDFLAGS)" -tags frpc -o bin/frpc ./cmd/frpc
|
|
|
|
test: gotest
|
|
|