mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Update BUILD.gn
This commit is contained in:
parent
c2b46be0a2
commit
61ed4534dd
1 changed files with 2 additions and 2 deletions
|
@ -916,7 +916,7 @@ config("compiler_cpu_abi") {
|
|||
}
|
||||
} else if (current_cpu == "arm") {
|
||||
if (is_clang && !is_android && !is_nacl) {
|
||||
cflags += [ "--target=arm-linux-gnueabihf", "-O3", ]
|
||||
cflags += [ "--target=arm-linux-gnueabihf", "-O3", "-Wno-unused-command-line-argument", ]
|
||||
ldflags += [ "--target=arm-linux-gnueabihf", "-Wl,-O3", ]
|
||||
}
|
||||
if (!is_nacl) {
|
||||
|
@ -930,7 +930,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", ]
|
||||
cflags += [ "--target=aarch64-linux-gnu", "-O3", "-Wno-unused-command-line-argument", ]
|
||||
ldflags += [ "--target=aarch64-linux-gnu", "-Wl,-O3", ]
|
||||
}
|
||||
if (is_android) {
|
||||
|
|
Loading…
Reference in a new issue