diff --git a/Makefile b/Makefile index f1a22ea2fd18..6fef8844d7bb 100644 --- a/Makefile +++ b/Makefile @@ -243,7 +243,7 @@ fleetd-tables-linux: fleetd-tables-darwin: GOOS=darwin GOARCH=amd64 go build -o fleetd_tables_darwin.ext ./orbit/cmd/fleetd_tables fleetd-tables-darwin_arm: - GOOS=darwin GOARCH=arm64 go build -o fleetd_tables_darwin_arm.ext ./orbit/cmd/fleetd_tables + GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build -o fleetd_tables_darwin_arm.ext ./orbit/cmd/fleetd_tables fleetd-tables-darwin-universal: fleetd-tables-darwin fleetd-tables-darwin_arm lipo -create fleetd_tables_darwin.ext fleetd_tables_darwin_arm.ext -output fleetd_tables_darwin_universal.ext fleetd-tables-all: fleetd-tables-windows fleetd-tables-linux fleetd-tables-darwin-universal diff --git a/orbit/goreleaser-macos.yml b/orbit/goreleaser-macos.yml index 1ffde3727dcd..e64fe8ed3f2b 100644 --- a/orbit/goreleaser-macos.yml +++ b/orbit/goreleaser-macos.yml @@ -5,7 +5,7 @@ builds: dir: ./orbit/cmd/orbit/ binary: orbit env: - - CGO_ENABLED=0 + - CGO_ENABLED=1 goos: - darwin goarch: