mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
darwin: allow cross linking darwin_amd64 from darwin_arm64
This commit is contained in:
@@ -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