mirror of
https://github.com/containers/podman.git
synced 2025-10-17 19:24:04 +08:00
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
This commit is contained in:
3
Makefile
3
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}'
|
||||
|
||||
|
Reference in New Issue
Block a user