Fix build
Some checks failed
Builds / XTChain (linux) (push) Successful in 16s
Builds / XTChain (windows) (push) Failing after -59m49s

This commit is contained in:
Aiken Harris 2025-07-07 20:21:18 +02:00 committed by CodingWorkshop Signing Team
parent 27ef533511
commit 5af8f058bb
Signed by: CodingWorkshop Signing Team
GPG Key ID: 6DC88369C82795D2

View File

@ -211,6 +211,7 @@ llvm_fetch()
# This function compiles and installs NINJA
ninja_build()
{
local EXTENSION=""
local NINJA_CXX_COMPILER=""
local NINJA_PLATFORM=""
@ -220,6 +221,7 @@ ninja_build()
# Additional, target-specific configuration options
case "${SYSTEM_NAME}" in
Windows)
EXTENSION=".exe"
NINJA_CXX_COMPILER="${SYSTEM_HOST}-g++"
NINJA_PLATFORM="mingw"
;;
@ -235,7 +237,7 @@ ninja_build()
cd ${NINJADIR}/build-${SYSTEM_NAME}
CXX=${NINJA_CXX_COMPILER} ../configure.py --platform=${NINJA_PLATFORM}
ninja
install ninja ${BINDIR}/bin/
install ninja${EXTENSION} ${BINDIR}/bin/
cd ${WRKDIR}
}
@ -327,7 +329,7 @@ wine_build()
${CONFIGURE_PARAMETERS}
for TOOL in widl wmc wrc; do
make -j20 tools/${TOOL}/all
cp tools/${TOOL}/${TOOL}${ENTENSION} ${BINDIR}/bin/
cp tools/${TOOL}/${TOOL}${EXTENSION} ${BINDIR}/bin/
done
cd ${WRKDIR}
}
@ -350,7 +352,7 @@ xtchain_build()
# Target-specific configuration options
case "${SYSTEM_NAME}" in
Windows)
CCOMPILER="${SYSTEM_HOST-gcc}"
CCOMPILER="${SYSTEM_HOST}-gcc"
EXTENSION=".ps1"
;;
*)