Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

optimize astcenc in debug builds

Ansraere7428c80f894
diff --git a/modules/astcenc/SCsub b/modules/astcenc/SCsub
index bb8bc8d8677..bd891b32cb1 100644
--- a/modules/astcenc/SCsub
+++ b/modules/astcenc/SCsub
@@ -40,6 +40,7 @@ thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
env_astcenc.Prepend(CPPPATH=[thirdparty_dir])
env_thirdparty = env_astcenc.Clone()
+env_thirdparty.force_optimization_on_debug()
env_thirdparty.disable_warnings()
# Build the encoder only for editor builds