mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
add netgo tag
This commit is contained in:
parent
7f28889e7b
commit
bc1b142dec
2
Makefile
2
Makefile
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user