File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ release-windows:
140
140
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
141
141
go get -u github.com/karalabe/xgo; \
142
142
fi
143
- xgo -dest $(DIST ) /binaries -tags ' $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' windows/*' -out gitea-$(VERSION ) .
143
+ xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' windows/*' -out gitea-$(VERSION ) .
144
144
ifeq ($(CI ) ,drone)
145
145
mv /build/* $(DIST)/binaries
146
146
endif
@@ -150,7 +150,7 @@ release-linux:
150
150
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
151
151
go get -u github.com/karalabe/xgo; \
152
152
fi
153
- xgo -dest $(DIST ) /binaries -tags ' $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' linux/*' -out gitea-$(VERSION ) .
153
+ xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' linux/*' -out gitea-$(VERSION ) .
154
154
ifeq ($(CI ) ,drone)
155
155
mv /build/* $(DIST)/binaries
156
156
endif
@@ -160,7 +160,7 @@ release-darwin:
160
160
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
161
161
go get -u github.com/karalabe/xgo; \
162
162
fi
163
- xgo -dest $(DIST ) /binaries -tags ' $(TAGS)' -ldflags ' $(LDFLAGS)' -targets ' darwin/*' -out gitea-$(VERSION ) .
163
+ xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' $(LDFLAGS)' -targets ' darwin/*' -out gitea-$(VERSION ) .
164
164
ifeq ($(CI ) ,drone)
165
165
mv /build/* $(DIST)/binaries
166
166
endif
You can’t perform that action at this time.
0 commit comments