aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn6
1 files changed, 5 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 2be010e288..3ff387a266 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -316,7 +316,11 @@ opts("hsw") {
if (is_win) {
cflags = [ "/arch:AVX2" ]
} else {
- cflags = [ "-march=haswell" ]
+ cflags = [
+ "-mavx2",
+ "-mf16c",
+ "-mfma",
+ ]
}
# Oddly, clang-cl doesn't recognize this as a valid flag.