Browse Source

Disable faster x64 crypto mode for IA32 builds

Joseph Henry 4 years ago
parent
commit
62ce6e6a60
1 changed files with 3 additions and 0 deletions
  1. 3 0
      make-linux.mk

+ 3 - 0
make-linux.mk

@@ -250,6 +250,9 @@ ifeq ($(ZT_IA32),1)
 	override LDFLAGS+=-m32
 	override CFLAGS+=-m32
 	override CXXFLAGS+=-m32
+	# Prevent the use of X64 crypto
+	ZT_USE_X64_ASM_SALSA=0
+	ZT_USE_X64_ASM_ED25519=0
 endif
 
 # Disable software updates by default on Linux since that is normally done with package management