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:
parent
d95f27501b
commit
611abdf2cc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue