Skip to content

Commit 1e0d81a

Browse files
committed
added cgo check for build
1 parent f2a316b commit 1e0d81a

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
@@ -8,7 +8,7 @@ clean:
88
build: ui/build build/server
99
build/server:
1010
# cd server && go build -ldflags "-w -X main.VERSION=$(VERSION)" -o '../build/server'
11-
cd server && rice embed-go && gox \
11+
cd server && rice embed-go && CGO_ENABLED=1 gox \
1212
-osarch="linux/amd64 linux/arm64 darwin/amd64 darwin/arm64 windows/amd64" \
1313
-ldflags "-w -X main.VERSION=$(VERSION)" \
1414
-output="../build/{{.OS}}/{{.Arch}}/loadster" \

0 commit comments

Comments
 (0)