diff options
author | ltdk | 2021-12-11 06:31:41 -0500 |
---|---|---|
committer | ltdk | 2021-12-11 06:31:41 -0500 |
commit | d94903d354e7c7fdc2fa87e7cd58e2af30606ca8 (patch) | |
tree | 46ef1f9f89bc233e582e8ace561714254caeee4a /makefile.patch | |
parent | 433101788aeb326d5af8133e67adf98a0616b767 (diff) | |
download | aur-d94903d354e7c7fdc2fa87e7cd58e2af30606ca8.tar.gz |
Update to latest version
Diffstat (limited to 'makefile.patch')
-rw-r--r-- | makefile.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/makefile.patch b/makefile.patch deleted file mode 100644 index edc49e368bec..000000000000 --- a/makefile.patch +++ /dev/null @@ -1,38 +0,0 @@ -1,2c1,14 -< GITREV=`git describe | cut -c 2-` -< LDFLAGS=-ldflags="-X 'github.com/writeas/writefreely.softwareVer=$(GITREV)'" ---- -> # make(1) from NetBSD (bmake on many Linux's) uses $(.CURDIR), but GNU Make uses -> # $(CURDIR). Normalize on $(.CURDIR) by setting it to $(CURDIR) if not set, and -> # then $(PWD) if still not set. -> .CURDIR ?= $(CURDIR) -> .CURDIR ?= $(PWD) -> -> # For reproducible builds, don't store the current build directory by default; -> # instead store only the path from the root of the repo (so there is still -> # enough info in debug messages to find the correct file). -> GCFLAGS = -gcflags="all=-trimpath=$(.CURDIR)" -> ASMFLAGS = -asmflags="all=-trimpath=$(.CURDIR)" -> -> GITREV!=git describe --tags | cut -c 2- -> GOLDFLAGS=-ldflags="-X 'github.com/writeas/writefreely.softwareVer=$(GITREV)' -extldflags '$(LDFLAGS)'" -5,7c17,19 -< GOINSTALL=$(GOCMD) install $(LDFLAGS) -< GOBUILD=$(GOCMD) build $(LDFLAGS) -< GOTEST=$(GOCMD) test $(LDFLAGS) ---- -> GOINSTALL=$(GOCMD) install $(GOLDFLAGS) $(GCFLAGS) $(ASMFLAGS) -> GOBUILD=$(GOCMD) build -buildmode=pie $(GOLDFLAGS) $(GCFLAGS) $(ASMFLAGS) -> GOTEST=$(GOCMD) test $(GOLDFLAGS) $(GCFLAGS) $(ASMFLAGS) -29c41 -< xgo --targets=linux/amd64, -dest build/ $(LDFLAGS) -tags='sqlite' -out writefreely ./cmd/writefreely ---- -> xgo --targets=linux/amd64, -dest build/ $(GOLDFLAGS) -tags='sqlite' -out writefreely ./cmd/writefreely -35c47 -< xgo --targets=windows/amd64, -dest build/ $(LDFLAGS) -tags='sqlite' -out writefreely ./cmd/writefreely ---- -> xgo --targets=windows/amd64, -dest build/ $(GOLDFLAGS) -tags='sqlite' -out writefreely ./cmd/writefreely -41c53 -< xgo --targets=darwin/amd64, -dest build/ $(LDFLAGS) -tags='sqlite' -out writefreely ./cmd/writefreely ---- -> xgo --targets=darwin/amd64, -dest build/ $(GOLDFLAGS) -tags='sqlite' -out writefreely ./cmd/writefreely |