Add -mavx2 to TARGET=HASWELL builds

to leverage improvements from PR#1921
This commit is contained in:
Martin Kroeker
2018-12-23 17:16:43 +01:00
committed by GitHub
parent a5a1118527
commit 43c2b0eb55

View File

@@ -25,6 +25,17 @@ endif
endif
endif
ifeq ($(CORE), HASWELL)
ifndef DYNAMIC_ARCH
ifndef NO_AVX2
CCOMMON_OPT += -mavx2
FCOMMON_OPT += -mavx2
endif
endif
endif
ifeq ($(OSNAME), Interix)
ARFLAGS = -m x64
endif