mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 08:33:06 +00:00
llvm7: find external liblldWasm and update for newest lld macho API
This commit is contained in:
parent
32dd98b19f
commit
84a700f972
@ -33,6 +33,7 @@ else()
|
||||
FIND_AND_ADD_LLD_LIB(lldELF)
|
||||
FIND_AND_ADD_LLD_LIB(lldCOFF)
|
||||
FIND_AND_ADD_LLD_LIB(lldMachO)
|
||||
FIND_AND_ADD_LLD_LIB(lldWasm)
|
||||
FIND_AND_ADD_LLD_LIB(lldReaderWriter)
|
||||
FIND_AND_ADD_LLD_LIB(lldCore)
|
||||
FIND_AND_ADD_LLD_LIB(lldYAML)
|
||||
|
@ -850,7 +850,7 @@ bool ZigLLDLink(ZigLLVM_ObjectFormatType oformat, const char **args, size_t arg_
|
||||
return lld::elf::link(array_ref_args, false, diag);
|
||||
|
||||
case ZigLLVM_MachO:
|
||||
return lld::mach_o::link(array_ref_args, diag);
|
||||
return lld::mach_o::link(array_ref_args, false, diag);
|
||||
|
||||
case ZigLLVM_Wasm:
|
||||
return lld::wasm::link(array_ref_args, false, diag);
|
||||
|
Loading…
Reference in New Issue
Block a user