mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
libunwind: compile with -std=c11
I noticed that the upstream cmake script does this now.
This commit is contained in:
parent
7a941391d8
commit
87819dba27
@ -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{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user