File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,33 +8,33 @@ build: build-ui
88
99# build for Apple's OSX 64
1010build-osx : build-ui
11- GOOS=darwin GOARCH=amd64 go build -ldflags ' -s -w' -o tob github.com/telkomdev/tob/cmd/tob
11+ CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags ' -s -w' -o tob github.com/telkomdev/tob/cmd/tob
1212
1313# build for Apple's OSX 64 with Apple Chip
1414build-osx-arm : build-ui
15- GOOS=darwin GOARCH=arm64 go build -ldflags ' -s -w' -o tob github.com/telkomdev/tob/cmd/tob
15+ CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags ' -s -w' -o tob github.com/telkomdev/tob/cmd/tob
1616
1717# build for Linux 64
1818build-linux : build-ui
1919 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags ' -s -w' -o tob github.com/telkomdev/tob/cmd/tob
2020
2121# build for Windows 64
2222build-win : build-ui
23- GOOS=windows GOARCH=amd64 go build -ldflags ' -s -w' -o tob.exe github.com/telkomdev/tob/cmd/tob
23+ CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags ' -s -w' -o tob.exe github.com/telkomdev/tob/cmd/tob
2424
2525# Tob HTTP Agent
2626
2727# build for Apple's OSX 64
2828build-http-agent-osx :
29- GOOS=darwin GOARCH=amd64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
29+ CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
3030
3131# build for Apple's OSX 64
3232build-http-agent-osx-arm :
33- GOOS=darwin GOARCH=arm64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
33+ CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
3434
3535# build for Linux 64
3636build-http-agent-linux :
37- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
37+ CGO_ENABLED=0 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
3838
3939test :
4040 go test ./...
You can’t perform that action at this time.
0 commit comments