build: add ability to specify release targets (#14957)

My make knowledge is very very limited, so if there's a better way to do
this please let me know! This seems to work and lets me cut one off
builds easily.
This commit is contained in:
Michael Schurter
2022-10-19 10:27:47 -07:00
committed by GitHub
parent 6e34e3fdaf
commit d59dc3da53

View File

@@ -75,6 +75,11 @@ ifeq (FreeBSD,$(THIS_OS))
ALL_TARGETS = freebsd_amd64
endif
# Allow overriding ALL_TARGETS via $TARGETS
ifdef TARGETS
ALL_TARGETS = $(TARGETS)
endif
SUPPORTED_OSES = Darwin Linux FreeBSD Windows MSYS_NT
CGO_ENABLED = 1