Skip to content

Commit f09aded

Browse files
committed
[Makefile] Make the restserver binary statically linked
1 parent 9d211b4 commit f09aded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ${OUT_DIR}/arrakis-chvapi.stamp: api/chv-api.yaml
4343

4444
restserver: serverapi chvapi
4545
mkdir -p ${OUT_DIR}
46-
go build -o ${RESTSERVER_BIN} ./cmd/restserver
46+
CGO_ENABLED=0 go build -o ${RESTSERVER_BIN} ./cmd/restserver
4747

4848
client: serverapi
4949
mkdir -p ${OUT_DIR}

0 commit comments

Comments
 (0)