1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[gn build] unbreak win build by removing flags that only work with a sysroot

This commit is contained in:
Nico Weber 2020-02-15 06:25:21 -05:00
parent 4c1f969392
commit d41b688f21

View File

@ -188,17 +188,11 @@ config("compiler_defaults") {
"-Werror=date-time",
]
if (current_os == "win") {
cflags += [
"-fmsc-version=1916",
"/X",
]
}
if (current_os == "win" && use_lld) {
cflags += [ "/Brepro" ]
ldflags += [
"/Brepro",
"/lldignoreenv",
]
cflags += [ "-fmsc-version=1916" ]
if (use_lld) {
cflags += [ "/Brepro" ]
ldflags += [ "/Brepro" ]
}
}
if (use_relative_paths_in_debug_info) {
cflags += [