Add 'stripe-cli/' from commit 'bfc3276044b9310ebeac0aa244e2afd01d2c0a90'
git-subtree-dir: stripe-cli git-subtree-mainline:47885a3f95git-subtree-split:bfc3276044
This commit is contained in:
16
stripe-cli/reproducible-image-flags.patch
Normal file
16
stripe-cli/reproducible-image-flags.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
--- Makefile 2019-11-05 13:19:33.405968540 -0500
|
||||
+++ Makefile 2019-11-05 13:20:38.358685158 -0500
|
||||
@@ -55,7 +55,12 @@
|
||||
# Build a beta version of stripe
|
||||
build:
|
||||
go generate ./...
|
||||
- go build -o stripe cmd/stripe/main.go
|
||||
+ go build \
|
||||
+ -buildmode pie \
|
||||
+ -ldflags "-extldflags $(LDFLAGS)" \
|
||||
+ -trimpath \
|
||||
+ -o stripe \
|
||||
+ cmd/stripe/main.go
|
||||
.PHONY: build
|
||||
|
||||
build-dev:
|
||||
Reference in New Issue
Block a user