mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
@@ -1017,11 +1017,8 @@ String lb_filepath_obj_for_module(lbModule *m) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String ext = {};
|
String ext = {};
|
||||||
if (build_context.out_filepath.len > 0) {
|
|
||||||
if (build_context.build_paths[BuildPath_Output].ext.len > 0) {
|
if (build_context.build_mode == BuildMode_Assembly) {
|
||||||
ext = concatenate_strings(permanent_allocator(), STR_LIT("."), build_context.build_paths[BuildPath_Output].ext);
|
|
||||||
}
|
|
||||||
} else if (build_context.build_mode == BuildMode_Assembly) {
|
|
||||||
ext = STR_LIT(".S");
|
ext = STR_LIT(".S");
|
||||||
} else {
|
} else {
|
||||||
if (is_arch_wasm()) {
|
if (is_arch_wasm()) {
|
||||||
@@ -1053,6 +1050,7 @@ String lb_filepath_obj_for_module(lbModule *m) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return concatenate_strings(permanent_allocator(), path, ext);
|
return concatenate_strings(permanent_allocator(), path, ext);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user