void-packages/srcpkgs/rspamd/patches/enable-curve25519-donna_c.patch
Jürgen Buchmüller 396eee340d rspamd: fix cross armv[67]l
This fixes the linker error (missing scalarmult_donna symbol),
but I don't know if it also works.
2015-10-18 02:40:50 +02:00

12 lines
478 B
Diff

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)