1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[gn build] port e58660750e76

Made necessary by c479e0c99459e4, which requires std::timespec
to exist, which it only does in c++17 and later.
This commit is contained in:
Nico Weber 2020-10-30 13:48:44 -04:00
parent 1ca50ab309
commit 5eee0feeab

View File

@ -53,7 +53,10 @@ config("cxx_config") {
"-Wno-user-defined-literals",
"-Wno-covered-switch-default",
]
cflags_cc = [ "-nostdinc++" ]
cflags_cc = [
"-std=c++17",
"-nostdinc++",
]
defines = [ "_LIBCPP_BUILDING_LIBRARY" ]
if (target_os == "win") {
cflags += [ "/Zl" ]