mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-10-31 09:20:38 +00:00
AVX disabled for debuild by patch
This commit is contained in:
parent
8b8007695c
commit
f69884d573
1
Makefile
1
Makefile
@ -10,6 +10,7 @@ DEPS := obj/make.dep
|
||||
include filelist.mk
|
||||
|
||||
USE_AESNI := yes
|
||||
USE_AVX := yes
|
||||
USE_STATIC := no
|
||||
USE_MESHNET := no
|
||||
USE_UPNP := no
|
||||
|
@ -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
|
||||
|
6
debian/patches/01-tune-build-opts.patch
vendored
6
debian/patches/01-tune-build-opts.patch
vendored
@ -1,5 +1,6 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index b6fc795..abc3ace 100644
|
||||
index bdadfe0..2f71eec 100644
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -9,10 +9,10 @@ DEPS := obj/make.dep
|
||||
@ -8,9 +9,10 @@ index b6fc795..abc3ace 100644
|
||||
|
||||
-USE_AESNI := yes
|
||||
+USE_AESNI := no
|
||||
-USE_AVX := yes
|
||||
+USE_AVX := no
|
||||
USE_STATIC := no
|
||||
USE_MESHNET := no
|
||||
USE_UPNP := no
|
||||
|
||||
ifeq ($(WEBSOCKETS),1)
|
||||
NEEDED_CXXFLAGS += -DWITH_EVENTS
|
||||
|
Loading…
Reference in New Issue
Block a user