Remove deprecated netgo build tag (Fixes #4)

This commit is contained in:
James Mills 2022-08-01 14:28:03 +10:00
parent c011bbae0c
commit 31040303f7
No known key found for this signature in database
GPG key ID: AC4C014F1440EBD6
2 changed files with 1 additions and 4 deletions

View file

@ -3,11 +3,8 @@ builds:
- id: tube
binary: tube
main: .
flags:
- -installsuffix=netgo
tags:
- embed
- netcgo
- static_build
ldflags: >-
-w

View file

@ -36,7 +36,7 @@ dev : server ## Build debug version of tube
@./tube
server: generate ## Build the tube server
@$(GOCMD) build -tags "embed netgo static_build" -installsuffix netgo \
@$(GOCMD) build -tags "embed static_build" \
-ldflags "-w \
-X $(shell go list).Version=$(VERSION) \
-X $(shell go list).Commit=$(COMMIT)" \