mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
libcxx: update to compile with -std=c++20
This is required to successfully build libc++.
This commit is contained in:
parent
1bbec59e07
commit
456d7e5f5f
@ -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(.{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user