mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 16:45:27 +00:00
glibc: add support for csky architecture
This commit is contained in:
parent
4bab90512d
commit
b25476bf12
@ -1051,6 +1051,8 @@ static const AvailableLibC libcs_available[] = {
|
||||
{ZigLLVM_arm, OsLinux, ZigLLVM_MuslEABI},
|
||||
{ZigLLVM_arm, OsLinux, ZigLLVM_MuslEABIHF},
|
||||
{ZigLLVM_arm, OsWindows, ZigLLVM_GNU},
|
||||
{ZigLLVM_csky, OsLinux, ZigLLVM_GNUEABI},
|
||||
{ZigLLVM_csky, OsLinux, ZigLLVM_GNUEABIHF},
|
||||
{ZigLLVM_x86, OsLinux, ZigLLVM_GNU},
|
||||
{ZigLLVM_x86, OsLinux, ZigLLVM_Musl},
|
||||
{ZigLLVM_x86, OsWindows, ZigLLVM_GNU},
|
||||
|
@ -25,6 +25,8 @@ pub const available_libcs = [_]ArchOsAbi{
|
||||
.{ .arch = .arm, .os = .linux, .abi = .musleabi },
|
||||
.{ .arch = .arm, .os = .linux, .abi = .musleabihf },
|
||||
.{ .arch = .arm, .os = .windows, .abi = .gnu },
|
||||
.{ .arch = .csky, .os = .linux, .abi = .gnueabi },
|
||||
.{ .arch = .csky, .os = .linux, .abi = .gnueabihf },
|
||||
.{ .arch = .i386, .os = .linux, .abi = .gnu },
|
||||
.{ .arch = .i386, .os = .linux, .abi = .musl },
|
||||
.{ .arch = .i386, .os = .windows, .abi = .gnu },
|
||||
|
@ -84,6 +84,16 @@ const glibc_targets = [_]LibCTarget{
|
||||
.arch = MultiArch{ .specific = Arch.arm },
|
||||
.abi = MultiAbi{ .specific = Abi.gnueabihf },
|
||||
},
|
||||
LibCTarget{
|
||||
.name = "csky-linux-gnuabiv2",
|
||||
.arch = MultiArch{ .specific = Arch.csky },
|
||||
.abi = MultiAbi{ .specific = Abi.gnueabihf },
|
||||
},
|
||||
LibCTarget{
|
||||
.name = "csky-linux-gnuabiv2-soft",
|
||||
.arch = MultiArch{ .specific = Arch.csky },
|
||||
.abi = MultiAbi{ .specific = Abi.gnueabi },
|
||||
},
|
||||
LibCTarget{
|
||||
.name = "i686-linux-gnu",
|
||||
.arch = MultiArch{ .specific = Arch.i386 },
|
||||
|
Loading…
Reference in New Issue
Block a user