aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-10-16 15:32:09 +0100
committergingerBill <bill@gingerbill.org>2020-10-16 15:32:09 +0100
commitb1bdd95f19f5e472200954dd7c312a3fd48ae84d (patch)
tree86121d262414779aa57bf83defed6e376931c786 /src/build_settings.cpp
parent063c0548b0905959d80dfac6a9a8e51c15e8d8c2 (diff)
Begin work on making packages import assembly sort files (.S)
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp
index 084a7eddd..0429ca307 100644
--- a/src/build_settings.cpp
+++ b/src/build_settings.cpp
@@ -291,10 +291,8 @@ TargetArchKind get_target_arch_from_string(String str) {
bool is_excluded_target_filename(String name) {
- String const ext = str_lit(".odin");
String original_name = name;
- GB_ASSERT(string_ends_with(name, ext));
- name = substring(name, 0, name.len-ext.len);
+ name = remove_extension_from_path(name);
String str1 = {};
String str2 = {};