mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 05:08:14 +00:00
Increase minimum macOS version to 10.12.0
This commit is contained in:
+2
-2
@@ -483,9 +483,9 @@ i32 linker_stage(lbGenerator *gen) {
|
|||||||
// NOTE: If you change this (although this minimum is as low as you can go with Odin working)
|
// NOTE: If you change this (although this minimum is as low as you can go with Odin working)
|
||||||
// make sure to also change the 'mtriple' param passed to 'opt'
|
// make sure to also change the 'mtriple' param passed to 'opt'
|
||||||
if (build_context.metrics.arch == TargetArch_arm64) {
|
if (build_context.metrics.arch == TargetArch_arm64) {
|
||||||
link_settings = gb_string_appendc(link_settings, " -mmacosx-version-min=12.0.0 ");
|
link_settings = gb_string_appendc(link_settings, " -mmacosx-version-min=12.0.0 ");
|
||||||
} else {
|
} else {
|
||||||
link_settings = gb_string_appendc(link_settings, " -mmacosx-version-min=10.8.0 ");
|
link_settings = gb_string_appendc(link_settings, " -mmacosx-version-min=10.12.0 ");
|
||||||
}
|
}
|
||||||
// This points the linker to where the entry point is
|
// This points the linker to where the entry point is
|
||||||
link_settings = gb_string_appendc(link_settings, " -e _main ");
|
link_settings = gb_string_appendc(link_settings, " -e _main ");
|
||||||
|
|||||||
Reference in New Issue
Block a user