From 58422711d1fdb6af8d4c97e375197647926df622 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 25 Feb 2021 00:22:47 +0000 Subject: Remove sret attribute in llvm_abi.cpp --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.cpp') 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 -- cgit v1.2.3