mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 19:31:05 +00:00
fix: Build server with correct option (#237)
We must build server with CGO_ENABLED=1 because of mattn/sqlite3. Co-authored-by: Yves-Gaël BILLET <ygbillet@ifotec.com>
This commit is contained in:
parent
2ff91e6a05
commit
2f222cea25
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -77,7 +77,7 @@ release-agent:
|
|||
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o release/drone-agent github.com/woodpecker-ci/woodpecker/cmd/drone-agent
|
||||
|
||||
release-server:
|
||||
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o release/drone-server github.com/woodpecker-ci/woodpecker/cmd/drone-server
|
||||
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -ldflags '${LDFLAGS}' -o release/drone-server github.com/woodpecker-ci/woodpecker/cmd/drone-server
|
||||
|
||||
release-cli:
|
||||
# disable CGO for cross-compiling
|
||||
|
|
Loading…
Reference in a new issue