Skip to content

Commit

Permalink
Pinata build, strip dwarf
Browse files Browse the repository at this point in the history
Signed-off-by: David Scott <dave@recoil.org>
  • Loading branch information
djs55 committed Jun 15, 2016
1 parent 658a25c commit 31e4b19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Set an output prefix, which is the local directory if not specified
PREFIX?=$(shell pwd)

CGO_CFLAGS="-I/usr/local/Cellar/libtool/2.4.6/include/"

# Populate version variables
# Add to compile time flags
NOTARY_PKG := github.com/docker/notary
Expand All @@ -11,8 +13,8 @@ ifneq ($(GITUNTRACKEDCHANGES),)
GITCOMMIT := $(GITCOMMIT)-dirty
endif
CTIMEVAR=-X $(NOTARY_PKG)/version.GitCommit=$(GITCOMMIT) -X $(NOTARY_PKG)/version.NotaryVersion=$(NOTARY_VERSION)
GO_LDFLAGS=-ldflags "-w $(CTIMEVAR)"
GO_LDFLAGS_STATIC=-ldflags "-w $(CTIMEVAR) -extldflags -static"
GO_LDFLAGS=-ldflags "-w $(CTIMEVAR) -s"
GO_LDFLAGS_STATIC=-ldflags "-w $(CTIMEVAR) -extldflags -static -s"
GOOSES = darwin linux
NOTARY_BUILDTAGS ?= pkcs11
NOTARYDIR := /go/src/github.com/docker/notary
Expand Down
4 changes: 2 additions & 2 deletions vendor/github.com/miekg/pkcs11/pkcs11.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 31e4b19

Please sign in to comment.