mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-13 22:36:19 +01:00
aro: define _CALL_ELF to 2 for powerpc64(le)
This commit is contained in:
parent
abc8ddcfa9
commit
c1daad3d68
1 changed files with 1 additions and 0 deletions
1
lib/compiler/aro/aro/Compilation.zig
vendored
1
lib/compiler/aro/aro/Compilation.zig
vendored
|
|
@ -660,6 +660,7 @@ fn generateSystemDefines(comp: *Compilation, w: *Io.Writer) !void {
|
|||
try define(w, "__PPC64__");
|
||||
try define(w, "_ARCH_PPC");
|
||||
try define(w, "_ARCH_PPC64");
|
||||
try w.writeAll("#define _CALL_ELF 2\n");
|
||||
},
|
||||
.sparc64 => {
|
||||
try defineStd(w, "sparc", is_gnu);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue