libunwind: compile with -std=c11

I noticed that the upstream cmake script does this now.
This commit is contained in:
Andrew Kelley 2022-09-12 23:16:38 -07:00
parent 7a941391d8
commit 87819dba27

View File

@ -39,7 +39,7 @@ pub fn buildStaticLib(comp: *Compilation) !void {
switch (Compilation.classifyFileExt(unwind_src)) {
.c => {
try cflags.append("-std=c99");
try cflags.append("-std=c11");
},
.cpp => {
try cflags.appendSlice(&[_][]const u8{