aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-09-12 23:16:38 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-09-12 23:16:38 -0700
commit87819dba2708465d7de5a260fc75436a11dd0f79 (patch)
tree292a31f1b4e1096dbc7d9727802e1a9b6ddca410 /src
parent7a941391d86a863ab08b24d161dcad8eb047f1bd (diff)
downloadzig-87819dba2708465d7de5a260fc75436a11dd0f79.tar.gz
zig-87819dba2708465d7de5a260fc75436a11dd0f79.zip
libunwind: compile with -std=c11
I noticed that the upstream cmake script does this now.
Diffstat (limited to 'src')
-rw-r--r--src/libunwind.zig2
1 files changed, 1 insertions, 1 deletions
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{