From fb98925a3c727a1f74c05611b9f592f9534d8f71 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Wed, 17 Jun 2026 14:11:07 +0800 Subject: [PATCH] Update docs/build-source.md Signed-off-by: wxiaoguang --- docs/build-source.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build-source.md b/docs/build-source.md index 28d2da941c..17e2ef7ae0 100644 --- a/docs/build-source.md +++ b/docs/build-source.md @@ -50,8 +50,8 @@ and will use the current working directory as the relative base path _`AppWorkPa These values, although useful when developing, may conflict with downstream users preferences. For packagers who need to use paths like `/etc/gitea/app.ini`, -they should define these values at build time for `make build` by environment variable -`LDFLAGS='-X "module.Var1=Value1" -X "module.Var2=Value2"'`. +they should define these values at build time for `make build` by environment variable like +`LDFLAGS='-X "module.Var1=Value1" -X "module.Var2=Value2"' TAGS="bindata" make build`. - _`CustomConf`_: `-X "code.gitea.io/gitea/modules/setting.CustomConf=/etc/gitea/app.ini"` - _`AppWorkPath`_: `-X "code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea"`