From feb0daf81d888e9160f9f94502de09b66f2a63fd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 21 Jun 2020 17:50:24 +0100 Subject: gentoo resync : 21.06.2020 --- .../files/gitlab-ci-linter-no-strip.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dev-util/gitlab-ci-linter/files/gitlab-ci-linter-no-strip.patch (limited to 'dev-util/gitlab-ci-linter/files') diff --git a/dev-util/gitlab-ci-linter/files/gitlab-ci-linter-no-strip.patch b/dev-util/gitlab-ci-linter/files/gitlab-ci-linter-no-strip.patch new file mode 100644 index 000000000000..95bb444ddc73 --- /dev/null +++ b/dev-util/gitlab-ci-linter/files/gitlab-ci-linter-no-strip.patch @@ -0,0 +1,15 @@ +diff --git a/Makefile b/Makefile +index 87b1456..832a1e1 100644 +--- a/Makefile ++++ b/Makefile +@@ -56,9 +56,7 @@ BUILDTIME?=$(shell date +%FT%T%z) + + MAIN_PACKAGE_PATH=$(shell go list . 2> /dev/null)/ + LDFLAGS+=-X $(MAIN_PACKAGE_PATH)config.VERSION=${VERSION} -X $(MAIN_PACKAGE_PATH)config.REVISION=${REVISION} -X $(MAIN_PACKAGE_PATH)config.BUILDTIME=${BUILDTIME} +-ifeq ($(DEBUG),0) +- LDFLAGS+=-s -w +-else ++ifneq ($(DEBUG),0) + LDFLAGS+=-X $(MAIN_PACKAGE_PATH)config.RELEASE=false + endif + CYCLOTHRESHOLD?=20 -- cgit v1.2.3