mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-30 19:30:06 +00:00
Add ODIN_DEBUG
This commit is contained in:
+1
-1
@@ -7598,7 +7598,7 @@ void ir_init_module(irModule *m, Checker *c) {
|
||||
m->info = &c->info;
|
||||
|
||||
m->generate_debug_info = false;
|
||||
if (build_context.debug) {
|
||||
if (build_context.ODIN_DEBUG) {
|
||||
m->generate_debug_info = build_context.ODIN_OS == "windows" && build_context.word_size == 8;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user