feat: set CGO ENABLED to support sqlite3

This commit is contained in:
LinkinStar 2022-10-20 10:22:46 +08:00
parent cb03804f09
commit 0224de4448
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ BIN=answer
DIR_SRC=./cmd/answer
DOCKER_CMD=docker
GO_ENV=CGO_ENABLED=0
#GO_ENV=CGO_ENABLED=0
Revision=$(shell git rev-parse --short HEAD)
GO_FLAGS=-ldflags="-X main.Version=$(VERSION) -X main.Revision=$(Revision) -X 'main.Time=`date`' -extldflags -static"
GO=$(GO_ENV) $(shell which go)