From 87819dba2708465d7de5a260fc75436a11dd0f79 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 12 Sep 2022 23:16:38 -0700 Subject: [PATCH] libunwind: compile with -std=c11 I noticed that the upstream cmake script does this now. --- src/libunwind.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libunwind.zig b/src/libunwind.zig index cc4029c6bf..2fe8b5e283 100644 --- a/src/libunwind.zig +++ b/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{