From e42a99590398f2bbddcb65b13647285481f624dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 13 Sep 2022 15:25:56 +0200 Subject: godot : fix lto option --- godot-update | 4 ++-- 1 file 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 -- cgit v1.1-2-g2b99