diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2021-03-06 23:15:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-06 23:15:09 +0000 |
| commit | 8784b79482159ab4908c4b7233c24c6af06a8861 (patch) | |
| tree | 03c064475a9d8509990523336679b77766901d5a /src/main.cpp | |
| parent | d0f923ba74a2a30584c33dc114ce6fd87206f853 (diff) | |
| parent | cefde23232fc30a1cc1b9d1bf9bba666efad8b57 (diff) | |
Merge pull request #862 from Kelimion/kelimion/master
Remove double removal of extension when using the -out option.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index b1fc8fd35..0897e5fa6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -875,12 +875,6 @@ bool parse_build_flags(Array<String> args) { String path = value.value_string; path = string_trim_whitespace(path); if (is_build_flag_path_valid(path)) { - #if defined(GB_SYSTEM_WINDOWS) - String ext = path_extension(path); - if (ext == ".exe") { - path = substring(path, 0, string_extension_position(path)); - } - #endif build_context.out_filepath = path_to_full_path(heap_allocator(), path); } else { gb_printf_err("Invalid -out path, got %.*s\n", LIT(path)); |