build.zig: llvm c++ files require -std=c++17

This commit is contained in:
Andrew Kelley 2023-01-29 12:57:24 -07:00
parent 501a6bdddf
commit 5bdc8f9d89

View File

@ -524,7 +524,7 @@ fn addCompilerStep(b: *Builder) *std.build.LibExeObjStep {
}
const exe_cflags = [_][]const u8{
"-std=c++14",
"-std=c++17",
"-D__STDC_CONSTANT_MACROS",
"-D__STDC_FORMAT_MACROS",
"-D__STDC_LIMIT_MACROS",