summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Lawes <graemelawes@gmail.com>2017-08-17 23:37:59 -0400
committerMichał Górny <mgorny@gentoo.org>2017-08-19 20:20:34 +0200
commit3868a4ae836f49d059d295c39a94a1fca4675d4a (patch)
tree21e283f7b7bcd8bdfd4936fac1316ede8ff7e2e4 /sys-cluster/teleport/files
parentsys-cluster/teleport: add teleport v.2.2.4 (diff)
downloadgentoo-3868a4ae836f49d059d295c39a94a1fca4675d4a.tar.gz
gentoo-3868a4ae836f49d059d295c39a94a1fca4675d4a.tar.bz2
gentoo-3868a4ae836f49d059d295c39a94a1fca4675d4a.zip
sys-cluster/teleport: don't pre-strip binaries
Needed to patch Makefile to allow BUILDFLAGS to be overridden. This will be fixed in later upstream releases.
Diffstat (limited to 'sys-cluster/teleport/files')
-rw-r--r--sys-cluster/teleport/files/teleport-makefile-buildflags.patch11
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