rspamd: fix cross armv[67]l

This fixes the linker error (missing scalarmult_donna symbol),
but I don't know if it also works.
This commit is contained in:
Jürgen Buchmüller 2015-10-18 02:40:50 +02:00
parent 999ef44822
commit 396eee340d
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
Enable curve25519-donn.c for non x86
--- src/libcryptobox/CMakeLists.txt 2015-10-15 14:13:46.000000000 +0200
+++ src/libcryptobox/CMakeLists.txt 2015-10-18 02:33:14.705237158 +0200
@@ -56,6 +56,7 @@
SET(CURVESRC ${CURVESRC} ${CMAKE_CURRENT_SOURCE_DIR}/curve25519/curve25519-donna.c)
ELSE()
SET(POLYSRC ${POLYSRC} ${CMAKE_CURRENT_SOURCE_DIR}/poly1305/ref-32.c)
+ SET(CURVESRC ${CURVESRC} ${CMAKE_CURRENT_SOURCE_DIR}/curve25519/curve25519-donna.c)
ENDIF()
IF(HAVE_AVX2)

View File

@ -1,7 +1,7 @@
# Template file for 'rspamd'
pkgname=rspamd
version=1.0.6
revision=1
revision=2
build_style=cmake
configure_args="
-DRSPAMD_USER=rspamd \