Update BUILD.gn

This commit is contained in:
Alexander David Frick 2022-01-29 06:42:07 -06:00 committed by GitHub
parent 3add957714
commit cf28d00386
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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