mirror of https://github.com/status-im/consul.git
build: ensure 'make linux' puts the binary in the expected location (#12494)
Fixes regression from #10833 Fixes dev-docker and test-docker targets
This commit is contained in:
parent
b2377df80f
commit
3e4ff5ffa0
|
@ -178,8 +178,8 @@ endif
|
|||
|
||||
# linux builds a linux binary independent of the source platform
|
||||
linux:
|
||||
mkdir -p bin
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin -ldflags "$(GOLDFLAGS)" -tags "$(GOTAGS)"
|
||||
@mkdir -p ./pkg/bin/linux_amd64
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./pkg/bin/linux_amd64 -ldflags "$(GOLDFLAGS)" -tags "$(GOTAGS)"
|
||||
|
||||
# dist builds binaries for all platforms and packages them for distribution
|
||||
dist:
|
||||
|
|
Loading…
Reference in New Issue