authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-09-12 23:16:38-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-09-12 23:16:38-07:00
log87819dba2708465d7de5a260fc75436a11dd0f79
tree292a31f1b4e1096dbc7d9727802e1a9b6ddca410
parent7a941391d86a863ab08b24d161dcad8eb047f1bd

libunwind: compile with -std=c11

I noticed that the upstream cmake script does this now.

1 files changed, 1 insertions(+), 1 deletions(-)

src/libunwind.zig+1-1
...@@ -39,7 +39,7 @@ pub fn buildStaticLib(comp: *Compilation) !void {...@@ -39,7 +39,7 @@ pub fn buildStaticLib(comp: *Compilation) !void {
3939
40 switch (Compilation.classifyFileExt(unwind_src)) {40 switch (Compilation.classifyFileExt(unwind_src)) {
41 .c => {41 .c => {
42 try cflags.append("-std=c99");42 try cflags.append("-std=c11");
43 },43 },
44 .cpp => {44 .cpp => {
45 try cflags.appendSlice(&[_][]const u8{45 try cflags.appendSlice(&[_][]const u8{