add netgo tag

This commit is contained in:
alex.sharov 2023-03-28 09:48:14 +07:00
parent 7f28889e7b
commit bc1b142dec
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ CGO_CFLAGS += -Wno-error=strict-prototypes # for Clang15, remove it when can htt
CGO_CFLAGS := CGO_CFLAGS="$(CGO_CFLAGS)"
DBG_CGO_CFLAGS += -DMDBX_DEBUG=1
BUILD_TAGS = nosqlite,noboltdb
BUILD_TAGS = nosqlite,noboltdb,netgo # about netgo see: https://github.com/golang/go/issues/30310#issuecomment-471669125
PACKAGE = github.com/ledgerwatch/erigon
GO_FLAGS += -trimpath -tags $(BUILD_TAGS) -buildvcs=false

View File

@ -413,7 +413,7 @@ $Erigon.Commit = [string]@(git.exe rev-list -1 HEAD)
$Erigon.Branch = [string]@(git.exe rev-parse --abbrev-ref HEAD)
$Erigon.Tag = [string]@(git.exe describe --tags)
$Erigon.BuildTags = "nosqlite,noboltdb"
$Erigon.BuildTags = "nosqlite,noboltdb,netgo"
$Erigon.Package = "github.com/ledgerwatch/erigon"
$Erigon.BuildFlags = "-trimpath -tags $($Erigon.BuildTags) -buildvcs=false -v"