aboutsummaryrefslogtreecommitdiff
path: root/src/linker.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2024-01-02 20:07:26 +0100
committerGitHub <noreply@github.com>2024-01-02 20:07:26 +0100
commitee97c5958f9c39730652bd7365b106e4cfbd7c87 (patch)
treefa13ae5a49d23d3f9a8c71a1fbc89ebee6c10c8e /src/linker.cpp
parent4efef08c94dba681837f8ec19f9140b708ca246e (diff)
parent778bbee17cf900c79d7302f82c0974f7ca881ed8 (diff)
Merge pull request #3065 from Platin21/fix/macos-min-version
Removes macOS min version and supports default latest
Diffstat (limited to 'src/linker.cpp')
-rw-r--r--src/linker.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/linker.cpp b/src/linker.cpp
index e93f50113..6ef6c0386 100644
--- a/src/linker.cpp
+++ b/src/linker.cpp
@@ -479,10 +479,6 @@ gb_internal i32 linker_stage(LinkerData *gen) {
// This sets a requirement of Mountain Lion and up, but the compiler doesn't work without this limit.
if (build_context.minimum_os_version_string.len) {
link_settings = gb_string_append_fmt(link_settings, " -mmacosx-version-min=%.*s ", LIT(build_context.minimum_os_version_string));
- } else if (build_context.metrics.arch == TargetArch_arm64) {
- link_settings = gb_string_appendc(link_settings, " -mmacosx-version-min=12.0.0 ");
- } else {
- link_settings = gb_string_appendc(link_settings, " -mmacosx-version-min=10.12.0 ");
}
// This points the linker to where the entry point is
link_settings = gb_string_appendc(link_settings, " -e _main ");