mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Default to -o:none for all builds
This commit is contained in:
@@ -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
|
// NOTE(bill): when building with `-debug` but not specifying an optimization level
|
||||||
// default to `-o:none` to improve the debug symbol generation by default
|
// default to `-o:none` to improve the debug symbol generation by default
|
||||||
bc->optimization_level = -1; // -o:none
|
bc->optimization_level = -1; // -o:none
|
||||||
|
|||||||
+1
-1
@@ -2112,7 +2112,7 @@ gb_internal void print_show_help(String const arg0, String const &command) {
|
|||||||
if (LB_USE_NEW_PASS_SYSTEM) {
|
if (LB_USE_NEW_PASS_SYSTEM) {
|
||||||
print_usage_line(3, "-o:aggressive");
|
print_usage_line(3, "-o:aggressive");
|
||||||
}
|
}
|
||||||
print_usage_line(2, "The default is -o:minimal.");
|
print_usage_line(2, "The default is -o:none.");
|
||||||
print_usage_line(0, "");
|
print_usage_line(0, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user