We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0be0b38 commit abd00d0Copy full SHA for abd00d0
src/aotcompile.cpp
@@ -1500,7 +1500,13 @@ void jl_dump_native_impl(void *native_code,
1500
TheTriple.setObjectFormat(Triple::COFF);
1501
} else if (TheTriple.isOSDarwin()) {
1502
TheTriple.setObjectFormat(Triple::MachO);
1503
- TheTriple.setOS(llvm::Triple::MacOSX);
+ SmallString<16> Str;
1504
+ Str += "macosx";
1505
+ if (TheTriple.isAArch64())
1506
+ Str += "11.0.0"; // Update this if MACOSX_VERSION_MIN changes
1507
+ else
1508
+ Str += "10.14.0";
1509
+ TheTriple.setOSName(Str);
1510
}
1511
Optional<Reloc::Model> RelocModel;
1512
if (TheTriple.isOSLinux() || TheTriple.isOSFreeBSD()) {
0 commit comments