Browse Source

Fix typos for OS X debug builds

gingerBill 6 years ago
parent
commit
d02b050850
1 changed files with 13 additions and 13 deletions
  1. 13 13
      src/main.cpp

+ 13 - 13
src/main.cpp

@@ -1088,19 +1088,19 @@ int main(int arg_count, char **arg_ptr) {
 			return exit_code;
 		}
 
-    #if defined(GB_SYSTEM_OSX)
-        if (BuildFlag_Debug) {
-            // NOTE: macOS links DWARF symbols dynamically. Dsymutil will map the stubs in the exe
-            // to the symbols in the object file
-            exit_code = system_exec_command_line_app("dsymutil", true,
-                "%.*s%s", LIT(output_base), output_ext
-                );
-
-            if (exit_code != 0) {
-                return exit_code;
-            }
-        }
-    #endif
+	#if defined(GB_SYSTEM_OSX)
+		if (build_context.ODIN_DEBUG) {
+			// NOTE: macOS links DWARF symbols dynamically. Dsymutil will map the stubs in the exe
+			// to the symbols in the object file
+			exit_code = system_exec_command_line_app("dsymutil", true,
+				"dsymutil %.*s%s", LIT(output_base), output_ext
+			);
+
+			if (exit_code != 0) {
+				return exit_code;
+			}
+		}
+	#endif
 
 
 		if (build_context.show_timings) {