AVX disabled for debuild by patch

This commit is contained in:
r4sas 2016-12-18 16:20:53 +03:00
parent 8b8007695c
commit f69884d573
3 changed files with 16 additions and 11 deletions

View file

@ -65,7 +65,9 @@ endif
endif
endif
ifeq ($(USE_AVX),yes)
#check if AVX supported by CPU
ifneq ($(shell $(GREP) -c avx /proc/cpuinfo),0)
CPU_FLAGS += -mavx
endif
endif