Omit debugging symbols for maximum small bins (#97)

* Omit debugging symbols for maximum small bins

* Update Makefile

add comment
This commit is contained in:
Jake Sanders 2018-04-19 09:04:45 -07:00 committed by dlorenc
parent 55557ff2e1
commit 350f8ab3d6
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ REPOPATH ?= $(ORG)/$(PROJECT)
GO_FILES := $(shell find . -type f -name '*.go' -not -path "./vendor/*")
GO_LDFLAGS := '-extldflags "-static"
GO_LDFLAGS += -X $(VERSION_PACKAGE).version=$(VERSION)
GO_LDFLAGS += -w -s # Drop debugging symbols.
GO_LDFLAGS += '
GO_BUILD_TAGS := "containers_image_ostree_stub containers_image_openpgp exclude_graphdriver_devicemapper exclude_graphdriver_btrfs exclude_graphdriver_overlay"