diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2022-04-08 19:14:59 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2022-04-24 13:37:26 +0200 |
| commit | f4723aea4cb610a8ccc7d3614f8787d638d284d6 (patch) | |
| tree | a900316597ae2c33ae32e7f1b132817f35e34fa6 /src/build_settings.cpp | |
| parent | 76d48b38d394b953ea4bbe1420ecd11e6e7dd028 (diff) | |
Remove redundant bit for non-Windows.
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 55d129124..212ded5c8 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -1281,22 +1281,8 @@ bool init_build_paths(String init_filename) { output_name = remove_extension_from_path(output_name); output_name = copy_string(ha, string_trim_whitespace(output_name)); - /* - NOTE(Jeroen): This fallback substitution can't be made at this stage. - if (gen->output_name.len == 0) { - gen->output_name = c->info.init_scope->pkg->name; - } - */ Path output_path = path_from_string(ha, output_name); - #ifndef GB_SYSTEM_WINDOWS - char cwd[4096]; - getcwd(&cwd[0], 4096); - - const u8 * cwd_str = (const u8 *)&cwd[0]; - output_path.basename = copy_string(ha, make_string(cwd_str, strlen(cwd))); - #endif - // Replace extension. if (output_path.ext.len > 0) { gb_free(ha, output_path.ext.text); |