Linux: Disable use_static_cpp for 32-bit

The binaries seem to crash on Ubuntu 18.04 i386 when using it.
This commit is contained in:
Rémi Verschelde
2020-01-16 23:59:23 +01:00
parent b4e081345c
commit 3319757d9d

View File

@@ -6,12 +6,16 @@ set -e
export BUILD_NAME=official
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
export OPTIONS="debug_symbols=no use_static_cpp=yes use_lto=yes"
export OPTIONS="debug_symbols=no use_lto=yes"
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
export TERM=xterm
export CC="gcc-8"
export CXX="g++-8"
if [ "$(getconf LONG_BIT)" == "64" ]; then
export OPTIONS="${OPTIONS} use_static_cpp=yes"
fi
rm -rf godot
mkdir godot
cd godot