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:
parent
4c1f969392
commit
d41b688f21
@ -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 += [
|
||||
|
Loading…
Reference in New Issue
Block a user