diff options
Diffstat (limited to 'sys-cluster/teleport/files/teleport-makefile-buildflags.patch')
-rw-r--r-- | sys-cluster/teleport/files/teleport-makefile-buildflags.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-cluster/teleport/files/teleport-makefile-buildflags.patch b/sys-cluster/teleport/files/teleport-makefile-buildflags.patch new file mode 100644 index 000000000000..d3da35350d86 --- /dev/null +++ b/sys-cluster/teleport/files/teleport-makefile-buildflags.patch @@ -0,0 +1,11 @@ +--- work/src/github.com/gravitational/teleport/Makefile ++++ work/src/github.com/gravitational/teleport/Makefile +@@ -12,7 +12,7 @@ + PWD ?= `pwd` + TELEPORT_DEBUG ?= no + GITTAG=v$(VERSION) +-BUILDFLAGS := $(ADDFLAGS) -ldflags '-w -s' ++BUILDFLAGS ?= $(ADDFLAGS) -ldflags '-w -s' + + RELEASE=teleport-$(GITTAG)-`go env GOOS`-`go env GOARCH`-bin + BINARIES=$(BUILDDIR)/tsh $(BUILDDIR)/teleport $(BUILDDIR)/tctl |