summaryrefslogtreecommitdiffstats
path: root/godot-update
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2022-09-13 15:25:56 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2022-09-13 15:25:56 +0200
commite42a99590398f2bbddcb65b13647285481f624dd (patch)
treec1599c2599fb0b0627b8c645b6ad90fa6cb80632 /godot-update
parent23b6ee77b517c8a2a0573a4abdad9afcdaf52c28 (diff)
downloadbin-e42a99590398f2bbddcb65b13647285481f624dd.zip
bin-e42a99590398f2bbddcb65b13647285481f624dd.tar.gz
godot : fix lto option
Diffstat (limited to 'godot-update')
-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