aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp14
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);