darwin: allow cross linking darwin_amd64 from darwin_arm64
This commit is contained in:
1 parent
b4fe9677a1
commit
f312adb26a
1 file changed
+1
@@ -1476,6 +1476,7 @@ gb_internal void init_build_context(TargetMetrics *cross_target, Subtarget subta
|
|||||||
bc->link_flags = str_lit("/machine:x64 ");
|
bc->link_flags = str_lit("/machine:x64 ");
|
||||||
break;
|
break;
|
||||||
case TargetOs_darwin:
|
case TargetOs_darwin:
|
||||||
|
bc->link_flags = str_lit("-arch x86_64 ");
|
||||||
break;
|
break;
|
||||||
case TargetOs_linux:
|
case TargetOs_linux:
|
||||||
bc->link_flags = str_lit("-arch x86-64 ");
|
bc->link_flags = str_lit("-arch x86-64 ");
|
||||||
|
|||||||
Reference in new issue
Block a user