summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgodot-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/godot-update b/godot-update
index 76ff74e..d72ca39 100755
--- a/godot-update
+++ b/godot-update
@@ -45,8 +45,8 @@ function build()
platform=x11
[ $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 linker=lld debug_symbols=no use_lto=no use_static_cpp=no" # arch does not provide libatomic.a through gcc-libs
+ [ $OPTIMIZED -eq 1 ] && opt_flags="use_static_ccp=yes lto=full debug_symbols=no"
+ common_flags="use_llvm=yes linker=lld debug_symbols=no lto=none 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