mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
build.zig: llvm c++ files require -std=c++17
This commit is contained in:
parent
501a6bdddf
commit
5bdc8f9d89
@ -524,7 +524,7 @@ fn addCompilerStep(b: *Builder) *std.build.LibExeObjStep {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const exe_cflags = [_][]const u8{
|
const exe_cflags = [_][]const u8{
|
||||||
"-std=c++14",
|
"-std=c++17",
|
||||||
"-D__STDC_CONSTANT_MACROS",
|
"-D__STDC_CONSTANT_MACROS",
|
||||||
"-D__STDC_FORMAT_MACROS",
|
"-D__STDC_FORMAT_MACROS",
|
||||||
"-D__STDC_LIMIT_MACROS",
|
"-D__STDC_LIMIT_MACROS",
|
||||||
|
Loading…
Reference in New Issue
Block a user