Skip to content

Commit a181593

Browse files
committed
fix HostEndian/TargetEndian determination for s390x
1 parent b4daec8 commit a181593

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/sdk/build/Vezel.Zig.Sdk.Cross.Host.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242

4343
<PropertyGroup>
4444
<HostEndian>little</HostEndian>
45+
<HostEndian Condition="'$(HostArchitecture)' == 's390x'">big</HostEndian>
4546
</PropertyGroup>
4647

4748
<PropertyGroup>

src/sdk/build/Vezel.Zig.Sdk.Cross.Target.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060

6161
<PropertyGroup>
6262
<TargetEndian>little</TargetEndian>
63+
<TargetEndian Condition="'$(TargetArchitecture)' == 's390x'">big</TargetEndian>
6364
</PropertyGroup>
6465

6566
<PropertyGroup>

0 commit comments

Comments
 (0)