libunwind: compile with -std=c11
I noticed that the upstream cmake script does this now.
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user