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
3add957714
commit
cf28d00386
1 changed files with 2 additions and 2 deletions
|
@ -897,7 +897,7 @@ config("compiler_cpu_abi") {
|
|||
"-mavx",
|
||||
"-maes",
|
||||
]
|
||||
ldflags += [ "-m64", "-Wl,-mllvm,-mavx", "-Wl,-mllvm,-maes", ]
|
||||
ldflags += [ "-m64", "-mavx", "-maes", ]
|
||||
} else if (current_cpu == "x86") {
|
||||
cflags += [ "-m32" ]
|
||||
ldflags += [ "-m32" ]
|
||||
|
@ -1928,7 +1928,7 @@ if (is_win) {
|
|||
"/Oy-", # Disable omitting frame pointers, must be after /O2.
|
||||
"/Zc:inline", # Remove unreferenced COMDAT (faster links).
|
||||
]
|
||||
common_optimize_on_ldflags += []
|
||||
common_optimize_on_ldflags += [ "-mavx", "-maes", ]
|
||||
if (!is_asan) {
|
||||
common_optimize_on_cflags += [
|
||||
# Put data in separate COMDATs. This allows the linker
|
||||
|
|
Loading…
Reference in a new issue