mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 20:04:12 -03:00
Update BUILD.gn
This commit is contained in:
parent
738dc0b845
commit
840c4c068a
1 changed files with 3 additions and 3 deletions
|
@ -888,7 +888,7 @@ config("compiler_cpu_abi") {
|
||||||
"-mavx",
|
"-mavx",
|
||||||
"-maes",
|
"-maes",
|
||||||
]
|
]
|
||||||
ldflags += [ "-m64" ]
|
ldflags += [ "-m64", "-Wl,-mllvm,-mavx", "-Wl,-mllvm,-maes", ]
|
||||||
} else if (current_cpu == "x86") {
|
} else if (current_cpu == "x86") {
|
||||||
cflags += [ "-m32" ]
|
cflags += [ "-m32" ]
|
||||||
ldflags += [ "-m32" ]
|
ldflags += [ "-m32" ]
|
||||||
|
@ -2164,7 +2164,7 @@ config("optimize_max") {
|
||||||
if (is_win) {
|
if (is_win) {
|
||||||
# Favor speed over size, /O2 must be before the common flags.
|
# Favor speed over size, /O2 must be before the common flags.
|
||||||
# /O2 implies /Ot, /Oi, and /GF.
|
# /O2 implies /Ot, /Oi, and /GF.
|
||||||
cflags = [ "-Xclang", "-O3" ] + common_optimize_on_cflags
|
cflags = [ "-Xclang", "-O3", ] + common_optimize_on_cflags
|
||||||
} else if (optimize_for_fuzzing) {
|
} else if (optimize_for_fuzzing) {
|
||||||
cflags = [ "-O1" ] + common_optimize_on_cflags
|
cflags = [ "-O1" ] + common_optimize_on_cflags
|
||||||
} else {
|
} else {
|
||||||
|
@ -2197,7 +2197,7 @@ config("optimize_speed") {
|
||||||
if (is_win) {
|
if (is_win) {
|
||||||
# Favor speed over size, /O2 must be before the common flags.
|
# Favor speed over size, /O2 must be before the common flags.
|
||||||
# /O2 implies /Ot, /Oi, and /GF.
|
# /O2 implies /Ot, /Oi, and /GF.
|
||||||
cflags = [ "-Xclang", "-O3" ] + common_optimize_on_cflags
|
cflags = [ "-Xclang", "-O3", ] + common_optimize_on_cflags
|
||||||
} else if (optimize_for_fuzzing) {
|
} else if (optimize_for_fuzzing) {
|
||||||
cflags = [ "-O1" ] + common_optimize_on_cflags
|
cflags = [ "-O1" ] + common_optimize_on_cflags
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue