Browse Source

gitea: update Makefile.patch

master
Leonid Plyushch 5 years ago
parent
commit
3250e1cc29
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 14
      packages/gitea/Makefile.patch

14
packages/gitea/Makefile.patch

@ -1,12 +1,12 @@
diff -uNr gitea-1.11.1/Makefile gitea-1.11.1.mod/Makefile
--- gitea-1.11.1/Makefile 2020-02-17 01:22:39.000000000 +0200
+++ gitea-1.11.1.mod/Makefile 2020-02-17 18:30:57.301574003 +0200
@@ -158,7 +158,7 @@
diff -uNr gitea-1.11.2/Makefile gitea-1.11.2.mod/Makefile
--- gitea-1.11.2/Makefile 2020-03-06 09:38:11.000000000 +0200
+++ gitea-1.11.2.mod/Makefile 2020-03-08 19:37:43.594425248 +0200
@@ -430,7 +430,7 @@
.PHONY: generate
generate: js css
generate:
- GO111MODULE=on $(GO) generate -mod=vendor $(PACKAGES)
+ GO111MODULE=on CGO_ENABLED=0 CGO_LDFLAGS="" CGO_CFLAGS="" GOOS=linux GOARCH=amd64 $(GO) generate -mod=vendor $(PACKAGES)
.PHONY: generate-swagger
generate-swagger:
$(EXECUTABLE): $(GO_SOURCES)
GO111MODULE=on $(GO) build -mod=vendor $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@

Loading…
Cancel
Save