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

@ -9,10 +9,11 @@ DEPS := obj/make.dep
include filelist.mk include filelist.mk
USE_AESNI := yes USE_AESNI := yes
USE_STATIC := no USE_AVX := yes
USE_MESHNET := no USE_STATIC := no
USE_UPNP := no USE_MESHNET := no
USE_UPNP := no
ifeq ($(WEBSOCKETS),1) ifeq ($(WEBSOCKETS),1)
NEEDED_CXXFLAGS += -DWITH_EVENTS NEEDED_CXXFLAGS += -DWITH_EVENTS

View File

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

View File

@ -1,16 +1,18 @@
diff --git a/Makefile b/Makefile diff --git a/Makefile b/Makefile
index b6fc795..abc3ace 100644 index bdadfe0..2f71eec 100644
--- a/Makefile --- a/Makefile
+++ b/Makefile +++ b/Makefile
@@ -9,10 +9,10 @@ DEPS := obj/make.dep @@ -9,10 +9,10 @@ DEPS := obj/make.dep
include filelist.mk include filelist.mk
-USE_AESNI := yes -USE_AESNI := yes
+USE_AESNI := no +USE_AESNI := no
USE_STATIC := no -USE_AVX := yes
USE_MESHNET := no +USE_AVX := no
USE_UPNP := no USE_STATIC := no
USE_MESHNET := no
USE_UPNP := no
ifeq ($(WEBSOCKETS),1) ifeq ($(WEBSOCKETS),1)
NEEDED_CXXFLAGS += -DWITH_EVENTS