summaryrefslogtreecommitdiffstats
path: root/godot-update
diff options
context:
space:
mode:
Diffstat (limited to 'godot-update')
-rwxr-xr-xgodot-update5
1 files changed, 3 insertions, 2 deletions
diff --git a/godot-update b/godot-update
index f1fd1f7..b92ef1b 100755
--- a/godot-update
+++ b/godot-update
@@ -46,11 +46,12 @@ function build()
[ $CLEAN -eq 1 ] && scons platform=$platform --clean
[ $OPTIMIZED -eq 1 ] && opt_flags="use_static_ccp=yes use_lto=yes debug_symbols=no"
+ common_flags="use_llvm=yes use_lld=yes debug_symbols=no use_lto=no use_static_cpp=no" # arch does not provide libatomic.a through gcc-libs
# https://docs.godotengine.org/en/3.2/development/compiling/compiling_for_x11.html
target=release_debug
echo -e "build : ${RED}$platform$RESET target=$RED$target$RESET"
- time scons -j$J platform=$platform target=$target tools=yes pulseaudio=no bits=64 $opt_flags warnings=no #custom_modules=../modules
+ time scons -j$J platform=$platform target=$target tools=yes colored=yes pulseaudio=no bits=64 $common_flags warnings=no #custom_modules=../modules
if [ $ANDROID -eq 1 ]
then
@@ -69,7 +70,7 @@ function build()
for arch in arm64v8 armv7; #x86_6
do
echo -e "build : ${RED}android$RESET android_arch=$RED$arch$RESET target=$RED$target$RESET ndk_platform=$RED$ndk_platform$RESET"
- time scons -j$J platform=android target=$target android_arch=$arch ndk_platform=$ndk_platform tools=no disable_3d=true
+ time scons -j$J platform=android target=$target android_arch=$arch ndk_platform=$ndk_platform tools=no disable_3d=true $common_flags
done
done
echo -e "${RED}gradlew build$RESET"