libcxx: update to compile with -std=c++20
This is required to successfully build libc++.
This commit is contained in:
@@ -158,7 +158,7 @@ pub fn buildLibCXX(comp: *Compilation) !void {
|
||||
try cflags.append("-fPIC");
|
||||
}
|
||||
try cflags.append("-nostdinc++");
|
||||
try cflags.append("-std=c++14");
|
||||
try cflags.append("-std=c++20");
|
||||
try cflags.append("-Wno-user-defined-literals");
|
||||
|
||||
c_source_files.appendAssumeCapacity(.{
|
||||
|
||||
Reference in New Issue
Block a user