Skip to content

Commit

Permalink
Do not inadvertently build a dynamic binary
Browse files Browse the repository at this point in the history
  • Loading branch information
gebn committed Apr 6, 2024
1 parent 9e2da75 commit 8a4487f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
OUT := plexbackup

# ensure these are set outside CI context
# Ensure these are set outside CI context.
GOOS := $(shell go env GOOS)
GOARCH := $(shell go env GOARCH)
GOARM := $(shell go env GOARM)

VERSION := $(shell git describe --always --tags --dirty)

# We want to ignore any C/C++ toolchain on dev machines.
export CGO_ENABLED = 0

arm := $(GOARM)
ifneq ($(arm),)
arm := v$(arm)
Expand Down

0 comments on commit 8a4487f

Please sign in to comment.