summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-01 11:16:35 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-01 11:27:25 +0100
commit1033dfcb3d4d91a08f1d659ded2000c73c938094 (patch)
treea5fda7657a965aa867f62321fb0c87b616ff83bb /SConstruct
parent010a873b5b98ead81649eb399446c59859faeacd (diff)
SCons: Fix wrong `debug_symbols` default value in --help
The actual default value is neither true nor false but depends on the value of `dev_build`. Fixes #71812.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 1acbd83e63..845b9be4a6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -172,7 +172,7 @@ opts.Add(
"optimize", "Optimization level", "speed_trace", ("none", "custom", "debug", "speed", "speed_trace", "size")
)
)
-opts.Add(BoolVariable("debug_symbols", "Build with debugging symbols", True))
+opts.Add(BoolVariable("debug_symbols", "Build with debugging symbols", False))
opts.Add(BoolVariable("separate_debug_symbols", "Extract debugging symbols to a separate file", False))
opts.Add(EnumVariable("lto", "Link-time optimization (production builds)", "none", ("none", "auto", "thin", "full")))
opts.Add(BoolVariable("production", "Set defaults to build Godot for use in production", False))