Update BUILD.gn

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

View file

@ -929,7 +929,7 @@ config("compiler_cpu_abi") {
} else if (current_cpu == "arm64") {
if (is_clang && !is_android && !is_nacl && !is_fuchsia &&
!(is_chromeos_lacros && is_chromeos_device)) {
cflags += [ "--target=aarch64-linux-gnu", "-O3", ]
cflags += [ "--target=aarch64-linux-gnu", "-O3", "-Wno-error", "-Wno-unused-command-line-argument", ]
ldflags += [ "--target=aarch64-linux-gnu", "-Wl,-O3", ]
}
if (is_android) {