File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ release-windows:
112
112
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
113
113
go get -u github.com/karalabe/xgo; \
114
114
fi
115
- xgo -dest $(DIST ) /binaries -tags ' $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' windows/*' -out gitea-$(VERSION ) .
115
+ xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' windows/*' -out gitea-$(VERSION ) .
116
116
ifeq ($(CI ) ,drone)
117
117
mv /build/* $(DIST)/binaries
118
118
endif
@@ -122,7 +122,7 @@ release-linux:
122
122
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
123
123
go get -u github.com/karalabe/xgo; \
124
124
fi
125
- xgo -dest $(DIST ) /binaries -tags ' $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' linux/*' -out gitea-$(VERSION ) .
125
+ xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' linux/*' -out gitea-$(VERSION ) .
126
126
ifeq ($(CI ) ,drone)
127
127
mv /build/* $(DIST)/binaries
128
128
endif
@@ -132,7 +132,7 @@ release-darwin:
132
132
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
133
133
go get -u github.com/karalabe/xgo; \
134
134
fi
135
- xgo -dest $(DIST ) /binaries -tags ' $(TAGS)' -ldflags ' $(LDFLAGS)' -targets ' darwin/*' -out gitea-$(VERSION ) .
135
+ xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' $(LDFLAGS)' -targets ' darwin/*' -out gitea-$(VERSION ) .
136
136
ifeq ($(CI ) ,drone)
137
137
mv /build/* $(DIST)/binaries
138
138
endif
You can’t perform that action at this time.
0 commit comments