From dce45e7d58f9bd0b265ef9c3d5d8abebc8f77290 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 28 Jan 2018 14:42:22 +0000 Subject: Add ODIN_DEBUG --- src/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index 4dbba4667..f2ab85e38 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -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; } -- cgit v1.2.3