From f57b7bbf43fe7fc7ada8055911c7ac55e53fa698 Mon Sep 17 00:00:00 2001 From: baude Date: Wed, 7 Mar 2018 08:12:25 -0600 Subject: Do not strip binaries We should not strip binaries in Make. That should be left to packages. Also, we can not debug stripped binaries so this allows us to debug better as well. Signed-off-by: baude Closes: #459 Approved by: rhatdan --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index da007064f..aecc05cf1 100644 --- a/Makefile +++ b/Makefile @@ -35,8 +35,7 @@ GOPKGBASEDIR := $(shell dirname "$(GOPKGDIR)") # Update VPATH so make finds .gopathok VPATH := $(VPATH):$(GOPATH) -SHRINKFLAGS := -s -w -BASE_LDFLAGS := ${SHRINKFLAGS} -X main.gitCommit=${GIT_COMMIT} -X main.buildInfo=${BUILD_INFO} +BASE_LDFLAGS := -X main.gitCommit=${GIT_COMMIT} -X main.buildInfo=${BUILD_INFO} LDFLAGS := -ldflags '${BASE_LDFLAGS}' LDFLAGS_PODMAN := -ldflags '${BASE_LDFLAGS}' -- cgit v1.2.3-54-g00ecf