diff options
author | baude <bbaude@redhat.com> | 2018-03-07 08:12:25 -0600 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-03-07 20:57:19 +0000 |
commit | f57b7bbf43fe7fc7ada8055911c7ac55e53fa698 (patch) | |
tree | 0f9b42266170a4efbc8e3a69f6e21a1a4a3d9e60 | |
parent | 042139673e68c4d99bc9cbdc33648d27940cd6a1 (diff) | |
download | podman-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
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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}' |