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 @@ -326,7 +326,7 @@ release-windows:
326326 @hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
327327 $(GO ) get -u src.techknowlogick.com/xgo; \
328328 fi
329- xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' windows/*' -out gitea-$(VERSION ) .
329+ xgo -dest $(DIST ) /binaries -tags ' netgo osusergo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' windows/*' -out gitea-$(VERSION ) .
330330ifeq ($(CI ) ,drone)
331331 cp /build/* $(DIST)/binaries
332332endif
@@ -336,7 +336,7 @@ release-linux:
336336 @hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
337337 $(GO ) get -u src.techknowlogick.com/xgo; \
338338 fi
339- xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' linux/*' -out gitea-$(VERSION ) .
339+ xgo -dest $(DIST ) /binaries -tags ' netgo osusergo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' linux/*' -out gitea-$(VERSION ) .
340340ifeq ($(CI ) ,drone)
341341 cp /build/* $(DIST)/binaries
342342endif
@@ -346,7 +346,7 @@ release-darwin:
346346 @hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
347347 $(GO ) get -u src.techknowlogick.com/xgo; \
348348 fi
349- xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' $(LDFLAGS)' -targets ' darwin/*' -out gitea-$(VERSION ) .
349+ xgo -dest $(DIST ) /binaries -tags ' netgo osusergo $(TAGS)' -ldflags ' $(LDFLAGS)' -targets ' darwin/*' -out gitea-$(VERSION ) .
350350ifeq ($(CI ) ,drone)
351351 cp /build/* $(DIST)/binaries
352352endif
You can’t perform that action at this time.
0 commit comments