diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-06-19 14:12:30 -0700 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2023-06-20 12:55:38 -0400 |
| commit | cdcfd15d3c7b573dcba21b64ffdf982e26524e50 (patch) | |
| tree | 6367af08dfc16dd5ec496620f4eee11ade7a85f4 /src/Compilation.zig | |
| parent | 928c4c9bd303804b598df33518156a88edbb1a3a (diff) | |
| download | zig-cdcfd15d3c7b573dcba21b64ffdf982e26524e50.tar.gz zig-cdcfd15d3c7b573dcba21b64ffdf982e26524e50.zip | |
musl: deal with zig rename of i386 to x86
musl uses "i386" for this while Zig has switched to "x86".
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 4c8b901fd1..55b3ab95f7 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -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) { |
