aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a40a96ea9..4545f6f21 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -439,7 +439,11 @@ void linker_stage(lbGenerator *gen) {
// This sets a requirement of Mountain Lion and up, but the compiler doesn't work without this limit.
// 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'
+ #if defined(GB_CPU_ARM)
+ " -macosx_version_min 11.0.0 "
+ #else
" -macosx_version_min 10.8.0 "
+ #endif
// This points the linker to where the entry point is
" -e _main "
#endif