Add ODIN_DEBUG

This commit is contained in:
gingerBill
2018-01-28 14:42:22 +00:00
parent 1a0877e965
commit dce45e7d58
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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;
}