Update BUILD.gn

This commit is contained in:
Alexander David Frick 2022-08-02 03:21:14 -05:00 committed by GitHub
parent 979cbb85ef
commit bf889a938a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -901,11 +901,6 @@ config("compiler_cpu_abi") {
"-msse3",
]
}
} else if (target_cpu == "arm64") {
if (!is_android && !is_nacl) {
cflags += [ "-O3", "-Wno-unused-command-line-argument", ]
ldflags += [ "-Wl,-O3", "-Wno-unused-command-line-argument", ]
}
} else if (current_cpu == "arm") {
if (is_clang && !is_android && !is_nacl &&
!(is_chromeos_lacros && is_chromeos_device)) {