aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-02-25 00:22:47 +0000
committergingerBill <bill@gingerbill.org>2021-02-25 00:22:47 +0000
commit58422711d1fdb6af8d4c97e375197647926df622 (patch)
tree199cbf8fc02d26d339528a0546e0069a63c5438e /src/main.cpp
parentba817d153ce1cd48dd37e47d2e4243270f78e9f0 (diff)
Remove sret attribute in llvm_abi.cpp
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