Update BUILD.gn
This commit is contained in:
parent
25c13d3b6d
commit
f65f7a4a9b
1 changed files with 2 additions and 2 deletions
|
@ -917,7 +917,7 @@ config("compiler_cpu_abi") {
|
|||
} else if (current_cpu == "arm") {
|
||||
if (is_clang && !is_android && !is_nacl) {
|
||||
cflags += [ "--target=arm-linux-gnueabihf", "-O3", "-Wno-unused-command-line-argument", ]
|
||||
ldflags += [ "--target=arm-linux-gnueabihf", "-Wl,-O3", "-Wl,-Wno-unused-command-line-argument", ]
|
||||
ldflags += [ "--target=arm-linux-gnueabihf", "-Wl,-O3", "-Wno-unused-command-line-argument", ]
|
||||
}
|
||||
if (!is_nacl) {
|
||||
cflags += [
|
||||
|
@ -931,7 +931,7 @@ config("compiler_cpu_abi") {
|
|||
} else if (current_cpu == "arm64") {
|
||||
if (is_clang && !is_android && !is_nacl && !is_fuchsia) {
|
||||
cflags += [ "--target=aarch64-linux-gnu", "-O3", "-Wno-unused-command-line-argument", ]
|
||||
ldflags += [ "--target=aarch64-linux-gnu", "-Wl,-O3", "-Wl,-Wno-unused-command-line-argument", ]
|
||||
ldflags += [ "--target=aarch64-linux-gnu", "-Wl,-O3", "-Wno-unused-command-line-argument", ]
|
||||
}
|
||||
if (is_android) {
|
||||
# Outline atomics crash on Exynos 9810. http://crbug.com/1272795
|
||||
|
|
Loading…
Reference in a new issue