You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/cli53/files/cli53-ldflags.patch

26 lines
692 B

From 832a36db6cbb259146ba306ceece92cfa1f45038 Mon Sep 17 00:00:00 2001
From: Mike Gilbert <floppym@gentoo.org>
Date: Mon, 29 Aug 2016 23:31:59 -0400
Subject: [PATCH] Don't strip debug symbols
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 546767c..5253982 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ export GO15VENDOREXPERIMENT=1
version := $(shell git describe --always --dirty)
exe = ./cmd/cli53
-buildargs = -ldflags '-w -s -X github.com/barnybug/cli53.version=${version}'
+buildargs = -ldflags '-X github.com/barnybug/cli53.version=${version}'
.PHONY: all build install test coverage deps release
--
2.9.3