mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
Revert "scripts: gha: use 64-bit compiler for 32-bit target for faster compilation on Win32"
This reverts commit 3de370f3d5
.
This commit is contained in:
parent
3de370f3d5
commit
79e94bf766
@ -5,19 +5,13 @@
|
||||
# Build engine
|
||||
cd $BUILDDIR
|
||||
|
||||
if [ "$ARCH" = "i386" ]; then
|
||||
# use 64-bit compiler crosscompiling for 32-bit for faster compilation
|
||||
CONFIGURE_FLAGS="--msvc_targets=amd64_x86"
|
||||
elif [ "$ARCH" = "amd64" ]; then
|
||||
# we need enabling 64-bit target only on Intel-compatible CPUs
|
||||
CONFIGURE_FLAGS="-8"
|
||||
else
|
||||
die
|
||||
if [ "$ARCH" = "amd64" ]; then # we need enabling 64-bit target only on Intel-compatible CPUs
|
||||
AMD64="-8"
|
||||
fi
|
||||
|
||||
# NOTE: to build with other version use --msvc_version during configuration
|
||||
# NOTE: sometimes you may need to add WinSDK to %PATH%
|
||||
./waf.bat configure -s "SDL2_VC" -T release --enable-utils --enable-tests --enable-lto $CONFIGURE_FLAGS || die_configure
|
||||
./waf.bat configure -s "SDL2_VC" -T release --enable-utils --enable-tests --enable-lto $AMD64 || die_configure
|
||||
./waf.bat build || die
|
||||
./waf.bat install --destdir=. || die
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user