Remove deprecated netgo build tag (Fixes #4)
This commit is contained in:
parent
c011bbae0c
commit
31040303f7
2 changed files with 1 additions and 4 deletions
|
@ -3,11 +3,8 @@ builds:
|
||||||
- id: tube
|
- id: tube
|
||||||
binary: tube
|
binary: tube
|
||||||
main: .
|
main: .
|
||||||
flags:
|
|
||||||
- -installsuffix=netgo
|
|
||||||
tags:
|
tags:
|
||||||
- embed
|
- embed
|
||||||
- netcgo
|
|
||||||
- static_build
|
- static_build
|
||||||
ldflags: >-
|
ldflags: >-
|
||||||
-w
|
-w
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -36,7 +36,7 @@ dev : server ## Build debug version of tube
|
||||||
@./tube
|
@./tube
|
||||||
|
|
||||||
server: generate ## Build the tube server
|
server: generate ## Build the tube server
|
||||||
@$(GOCMD) build -tags "embed netgo static_build" -installsuffix netgo \
|
@$(GOCMD) build -tags "embed static_build" \
|
||||||
-ldflags "-w \
|
-ldflags "-w \
|
||||||
-X $(shell go list).Version=$(VERSION) \
|
-X $(shell go list).Version=$(VERSION) \
|
||||||
-X $(shell go list).Commit=$(COMMIT)" \
|
-X $(shell go list).Commit=$(COMMIT)" \
|
||||||
|
|
Loading…
Reference in a new issue