diff --git a/Makefile.common b/Makefile.common index cd0e4763..d1576bb3 100644 --- a/Makefile.common +++ b/Makefile.common @@ -201,13 +201,7 @@ common-unused: .PHONY: common-build common-build: promu @echo ">> building binaries" - @$(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES) - @# Use the codesign binary directly instead of `promu codesign` as it depends on an image that doesn't support linux/arm64 (w.r.t. darwin's rosetta emulation) yet. - @if [ "$(GOHOSTOS)" = "darwin" ]; then \ - if command -v codesign > /dev/null 2>&1; then \ - codesign --sign - --force --preserve-metadata=entitlements,requirements,flags,runtime node_exporter >/dev/null 2>&1; \ - fi; \ - fi + $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES) .PHONY: common-tarball common-tarball: promu