Makefile+release: only use -trimpath on release script
Allows lnd to still be compiled with go1.12.x, tho users with go1.13 can still verify release binaries.
This commit is contained in:
parent
934b11fdac
commit
da1b599d88
4
Makefile
4
Makefile
@ -34,8 +34,8 @@ LINT_COMMIT := v1.18.0
|
|||||||
GOACC_COMMIT := ddc355013f90fea78d83d3a6c71f1d37ac07ecd5
|
GOACC_COMMIT := ddc355013f90fea78d83d3a6c71f1d37ac07ecd5
|
||||||
|
|
||||||
DEPGET := cd /tmp && GO111MODULE=on go get -v
|
DEPGET := cd /tmp && GO111MODULE=on go get -v
|
||||||
GOBUILD := GO111MODULE=on go build -v -trimpath
|
GOBUILD := GO111MODULE=on go build -v
|
||||||
GOINSTALL := GO111MODULE=on go install -v -trimpath
|
GOINSTALL := GO111MODULE=on go install -v
|
||||||
GOTEST := GO111MODULE=on go test -v
|
GOTEST := GO111MODULE=on go test -v
|
||||||
|
|
||||||
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*")
|
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*")
|
||||||
|
@ -60,8 +60,8 @@ for i in $SYS; do
|
|||||||
cd $PACKAGE-$i-$TAG
|
cd $PACKAGE-$i-$TAG
|
||||||
|
|
||||||
echo "Building:" $OS $ARCH $ARM
|
echo "Building:" $OS $ARCH $ARM
|
||||||
env GOOS=$OS GOARCH=$ARCH GOARM=$ARM go build -v -ldflags "$COMMITFLAGS" -tags="autopilotrpc signrpc walletrpc chainrpc invoicesrpc routerrpc watchtowerrpc" github.com/lightningnetwork/lnd/cmd/lnd
|
env GOOS=$OS GOARCH=$ARCH GOARM=$ARM go build -v -trimpath -ldflags "$COMMITFLAGS" -tags="autopilotrpc signrpc walletrpc chainrpc invoicesrpc routerrpc watchtowerrpc" github.com/lightningnetwork/lnd/cmd/lnd
|
||||||
env GOOS=$OS GOARCH=$ARCH GOARM=$ARM go build -v -ldflags "$COMMITFLAGS" -tags="autopilotrpc invoicesrpc walletrpc routerrpc watchtowerrpc" github.com/lightningnetwork/lnd/cmd/lncli
|
env GOOS=$OS GOARCH=$ARCH GOARM=$ARM go build -v -trimpath -ldflags "$COMMITFLAGS" -tags="autopilotrpc invoicesrpc walletrpc routerrpc watchtowerrpc" github.com/lightningnetwork/lnd/cmd/lncli
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
if [[ $OS = "windows" ]]; then
|
if [[ $OS = "windows" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user