Skip to content
Snippets Groups Projects
Commit c547e9e8 authored by Piotr Kubaj's avatar Piotr Kubaj
Browse files

security/cryptlib: fix build on powerpc64le

parent b05652e4
No related merge requests found
......@@ -9,7 +9,7 @@ DISTNAME= cl${PORTVERSION:S/.//g}
MAINTAINER= ale@FreeBSD.org
COMMENT= Powerful security programming toolkit
ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 powerpc powerpc64
ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le
OPTIONS_DEFINE= DOCS
......
......@@ -4,10 +4,10 @@
#define L_ENDIAN
#else
#define B_ENDIAN
#endif /* Usually big-endian but may be little-endian */
+ #ifdef __LP64__
+ #undef SIXTY_FOUR_BIT
+ #define SIXTY_FOUR_BIT_LONG
+ #endif
#endif /* Usually big-endian but may be little-endian */
#define BN_LLONG
#define DES_RISC1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment