|
@@ -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 ");
|