upgpkg: dendrite-git helm.dendrite.0.11.2.r5.g6b1c9eafa-1
gotmpdir
This commit is contained in:
parent
3771a1252b
commit
c8b70ba53b
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ build() {
|
|||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
export GOTMPDIR="${srcdir}"
|
||||
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
|
||||
go build ./cmd/dendrite
|
||||
go build ./cmd/generate-config
|
||||
|
@ -45,6 +46,7 @@ check() {
|
|||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
export GOTMPDIR="${srcdir}"
|
||||
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
|
||||
go test ./cmd/dendrite
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue