Update BUILD.gn

This commit is contained in:
Alexander David Frick 2022-07-11 09:15:33 -05:00 committed by GitHub
parent 910e336bdd
commit c2e145665d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,7 +121,7 @@ config("compiler") {
cflags += [ "--target=x86_64-windows", "/O3", "/clang:-O3", "-Xclang", "-O3", "-Wno-unused-command-line-argument", ] cflags += [ "--target=x86_64-windows", "/O3", "/clang:-O3", "-Xclang", "-O3", "-Wno-unused-command-line-argument", ]
} }
} else if (current_cpu == "arm64") { } else if (current_cpu == "arm64") {
cflags += [ "--target=arm64-windows", "/O3", "/clang:-O3", "-Xclang", "-O3", "-Wno-unused-command-line-argument", "-Wno-error", "/clang:-Wno-unused-command-line-argument", "/clang:-Wno-error", ] cflags += [ "--target=arm64-windows", "/O3", "/clang:-O3", "-Xclang", "-O3", "-Wno-unused-command-line-argument", "-Wno-error", "-Xclang", "-Wno-unused-command-line-argument", "-Xclang", "-Wno-error", "/clang:-Wno-unused-command-line-argument", "/clang:-Wno-error", ]
} else { } else {
assert(false, "unknown current_cpu " + current_cpu) assert(false, "unknown current_cpu " + current_cpu)
} }