Add -build-mode=obj

This commit is contained in:
gingerBill
2020-04-13 12:00:40 +01:00
parent 9e698b720f
commit 65a2125dba
6 changed files with 48 additions and 30 deletions
+1 -1
View File
@@ -4131,7 +4131,7 @@ void check_parsed_files(Checker *c) {
TIME_SECTION("check entry point");
if (!build_context.is_dll) {
if (build_context.build_mode == BuildMode_Executable) {
Scope *s = c->info.init_scope;
GB_ASSERT(s != nullptr);
GB_ASSERT(s->flags&ScopeFlag_Init);