mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
add default value for macosx version min when compiling natively
closes #264
This commit is contained in:
1 parent
c91dbdb27c
commit
c78dc5043b
1 file changed
+2
@@ -42,6 +42,8 @@ static void init_darwin_native(CodeGen *g) {
|
||||
g->mmacosx_version_min = buf_create_from_str(osx_target);
|
||||
} else if (ios_target) {
|
||||
g->mios_version_min = buf_create_from_str(ios_target);
|
||||
} else if (g->zig_target.os != ZigLLVM_IOS) {
|
||||
g->mmacosx_version_min = buf_create_from_str("10.10");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user