Fix AVX in win builds.

This commit is contained in:
Alexander David Frick 2022-01-02 10:36:28 -06:00 committed by GitHub
parent 4940a6199a
commit a57aa7eb9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,7 +115,7 @@ config("compiler") {
# microarchitecture. MSVC only supports a subset of architectures, and the
# next step after SSE2 will be AVX.
if (current_cpu == "x86" || current_cpu == "x64") {
cflags += [ "-mavx" ]
cflags += [ "-mavx", "-maes", ]
}
if (exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==