summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-03-07 08:12:25 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2018-03-07 20:57:19 +0000
commitf57b7bbf43fe7fc7ada8055911c7ac55e53fa698 (patch)
tree0f9b42266170a4efbc8e3a69f6e21a1a4a3d9e60 /Makefile
parent042139673e68c4d99bc9cbdc33648d27940cd6a1 (diff)
downloadpodman-f57b7bbf43fe7fc7ada8055911c7ac55e53fa698.tar.gz
podman-f57b7bbf43fe7fc7ada8055911c7ac55e53fa698.tar.bz2
podman-f57b7bbf43fe7fc7ada8055911c7ac55e53fa698.zip
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 <bbaude@redhat.com> Closes: #459 Approved by: rhatdan
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
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}'