Commit 87819dba27

Andrew Kelley <andrew@ziglang.org>
2022-09-13 08:16:38
libunwind: compile with -std=c11
I noticed that the upstream cmake script does this now.
1 parent 7a94139
Changed files (1)
src/libunwind.zig
@@ -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{