Skip to content

Commit

Permalink
chore: disable CGO for prod builds
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcStdt committed Mar 25, 2024
1 parent b4b456a commit 6bd0655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ install: ## Install Daemon
cp ./bin/druid /usr/local/bin/druid

build-plugins: ## Build Plugins
go build -o ./bin/druid_rcon ./plugin/rcon/rcon.go
go build -o ./bin/druid_rcon_web_rust ./plugin/rcon_web_rust/rcon_web_rust.go
CGO_ENABLED=0 go build -o ./bin/druid_rcon ./plugin/rcon/rcon.go
CGO_ENABLED=0 go build -o ./bin/druid_rcon_web_rust ./plugin/rcon_web_rust/rcon_web_rust.go

proto:
protoc --go_out=paths=source_relative:./ --go-grpc_out=paths=source_relative:./ --go-grpc_opt=paths=source_relative plugin/proto/*.proto
Expand Down

0 comments on commit 6bd0655

Please sign in to comment.