Omit debugging symbols for maximum small bins (#97)
* Omit debugging symbols for maximum small bins * Update Makefile add comment
This commit is contained in:
parent
55557ff2e1
commit
350f8ab3d6
1
Makefile
1
Makefile
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue