musl: deal with zig rename of i386 to x86
musl uses "i386" for this while Zig has switched to "x86".
This commit is contained in:
committed by
Jacob Young
parent
928c4c9bd3
commit
cdcfd15d3c
@@ -4918,7 +4918,7 @@ fn detectLibCFromBuilding(
|
||||
const generic_name = target_util.libCGenericName(target);
|
||||
// Some architectures are handled by the same set of headers.
|
||||
const arch_name = if (target.abi.isMusl())
|
||||
musl.archName(target.cpu.arch)
|
||||
musl.archNameHeaders(target.cpu.arch)
|
||||
else if (target.cpu.arch.isThumb())
|
||||
// ARM headers are valid for Thumb too.
|
||||
switch (target.cpu.arch) {
|
||||
|
||||
Reference in New Issue
Block a user