Update BUILD.gn

This commit is contained in:
Alexander David Frick 2022-04-29 20:23:26 -05:00 committed by GitHub
parent f882b4718e
commit 9590dd4b21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -891,10 +891,11 @@ config("compiler_cpu_abi") {
if (current_cpu == "x64") { if (current_cpu == "x64") {
cflags += [ cflags += [
"-m64", "-m64",
"-O3",
"-mavx", "-mavx",
"-maes", "-maes",
] ]
ldflags += [ "-m64", "-mavx", "-maes", ] ldflags += [ "-m64", "-Wl,-O3", "-mavx", "-maes", ]
} else if (current_cpu == "x86") { } else if (current_cpu == "x86") {
cflags += [ "-m32" ] cflags += [ "-m32" ]
ldflags += [ "-m32" ] ldflags += [ "-m32" ]