Update BUILD.gn

This commit is contained in:
Alexander David Frick 2022-09-04 07:06:49 -05:00 committed by GitHub
parent 85732a17bf
commit 3ee1c2f5ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -702,7 +702,7 @@ config("compiler") {
if (is_win && target_cpu == "arm64") {
cflags += [ "-O3", "-Wno-error", "-Wno-unreachable-code", "-Wno-unused-command-line-argument", ]
ldflags += [ "-Wno-unused-command-line-argument", ]
ldflags += [ "-Wl,-O3", ]
}
if (is_linux && target_cpu == "arm64") {