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:
parent
1ca50ab309
commit
5eee0feeab
@ -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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user