Skip to content

Commit

Permalink
fixup! fixup! fixup! chore: add xBSD pipelines
Browse files Browse the repository at this point in the history
Signed-off-by: Pranshu Srivastava <[email protected]>
  • Loading branch information
rexagod committed Dec 25, 2024
1 parent b0c0868 commit 5afb253
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5afb253

Please sign in to comment.