Update build.sh

This commit is contained in:
2025-10-24 20:07:11 +08:00
committed by GitHub
parent 38f2cf07af
commit 2283fa4953

View File

@@ -170,6 +170,11 @@ show_banner() {
# 初始化构建环境
setup_build_environment() {
export TERM=${TERM:-xterm-256color}
export LC_ALL=${LC_ALL:-C.UTF-8}
export LANG=${LANG:-en_US.UTF-8}
if [[ "$(id -u)" == "0" ]]; then
export FORCE_UNSAFE_CONFIGURE=1
export FORCE=1