forked from OSchip/llvm-project
[gn build] port e58660750e
Made necessary by c479e0c994
, which requires std::timespec
to exist, which it only does in c++17 and later.
This commit is contained in:
parent
6915c76e10
commit
0332e98cb8
|
@ -53,7 +53,10 @@ config("cxx_config") {
|
||||||
"-Wno-user-defined-literals",
|
"-Wno-user-defined-literals",
|
||||||
"-Wno-covered-switch-default",
|
"-Wno-covered-switch-default",
|
||||||
]
|
]
|
||||||
cflags_cc = [ "-nostdinc++" ]
|
cflags_cc = [
|
||||||
|
"-std=c++17",
|
||||||
|
"-nostdinc++",
|
||||||
|
]
|
||||||
defines = [ "_LIBCPP_BUILDING_LIBRARY" ]
|
defines = [ "_LIBCPP_BUILDING_LIBRARY" ]
|
||||||
if (target_os == "win") {
|
if (target_os == "win") {
|
||||||
cflags += [ "/Zl" ]
|
cflags += [ "/Zl" ]
|
||||||
|
|
Loading…
Reference in New Issue