Update BUILD.gn
This commit is contained in:
parent
f882b4718e
commit
9590dd4b21
1 changed files with 2 additions and 1 deletions
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in a new issue