mirror of
https://github.com/godotengine/godot-build-scripts.git
synced 2025-12-31 05:48:35 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user