Update BUILD.gn

This commit is contained in:
Alexander David Frick 2022-04-23 21:54:00 -05:00 committed by GitHub
parent 45d32e8b1b
commit 2b402de950
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ config("compiler") {
cflags = [ "-O3", ] + common_mac_flags
if (target_cpu == "x64") {
cflags += [ "-maes", "-mavx", "-mavx2", "-fp-contract=fast", ]
cflags += [ "-maes", "-mavx", "-mavx2", "-ffp-contract=fast", ]
ldflags += [ "-Wl,-march=haswell", "-Wl,-fp-contract=fast", ]
}