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:
326
326
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
327
327
$(GO ) get -u src.techknowlogick.com/xgo; \
328
328
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 ) .
330
330
ifeq ($(CI ) ,drone)
331
331
cp /build/* $(DIST)/binaries
332
332
endif
@@ -336,7 +336,7 @@ release-linux:
336
336
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
337
337
$(GO ) get -u src.techknowlogick.com/xgo; \
338
338
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 ) .
340
340
ifeq ($(CI ) ,drone)
341
341
cp /build/* $(DIST)/binaries
342
342
endif
@@ -346,7 +346,7 @@ release-darwin:
346
346
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
347
347
$(GO ) get -u src.techknowlogick.com/xgo; \
348
348
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 ) .
350
350
ifeq ($(CI ) ,drone)
351
351
cp /build/* $(DIST)/binaries
352
352
endif
You can’t perform that action at this time.
0 commit comments