|
@@ -1633,7 +1633,7 @@ gb_internal void init_build_context(TargetMetrics *cross_target, Subtarget subta
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if (bc->ODIN_DEBUG && !bc->custom_optimization_level) {
|
|
|
+ if (!bc->custom_optimization_level) {
|
|
|
// NOTE(bill): when building with `-debug` but not specifying an optimization level
|
|
|
// default to `-o:none` to improve the debug symbol generation by default
|
|
|
bc->optimization_level = -1; // -o:none
|