From 432b0afb777e4897dabd5e7941f7dcfadd5ae6e4 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 24 Jan 2026 09:58:06 +0200 Subject: [PATCH] thirdparty: update thirdparty/build_scripts/thirdparty-macos-arm64_tcc.sh --- thirdparty/build_scripts/thirdparty-macos-arm64_tcc.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/thirdparty/build_scripts/thirdparty-macos-arm64_tcc.sh b/thirdparty/build_scripts/thirdparty-macos-arm64_tcc.sh index 4610197ad..6c88bc175 100755 --- a/thirdparty/build_scripts/thirdparty-macos-arm64_tcc.sh +++ b/thirdparty/build_scripts/thirdparty-macos-arm64_tcc.sh @@ -10,12 +10,16 @@ ## OF REBUILDING, FOR EASIER/RELIABLE REPRODUCTION OF HISTORIC VERSIONS. ## IT IS NOT INTENDED TO BE MODIFIED. + BUILD_CMD=`fc -nl -0` ## remove whitespaces before/after the actual command: BUILD_CMD="$(echo "${BUILD_CMD}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')" set -e +## make sure that commands use English in their output, instead of the local system's local: +export LANG=C + if ! test -f vlib/v/compiler_errors_test.v; then echo "this script should be run in V's main repo folder!" exit 1 @@ -26,7 +30,7 @@ export CURRENT_SCRIPT_PATH=$(realpath "$0") export TCC_COMMIT="${TCC_COMMIT:-mob}" export TCC_FOLDER="${TCC_FOLDER:-thirdparty/tcc.$TCC_COMMIT}" -export CC="${CC:-gcc}" +export CC="${CC:-clang}" echo " BUILD_CMD: \`$BUILD_CMD\`" echo " CC: $CC" -- 2.39.5