Files
ports/databases/galera26/files/patch-galerautils_SConscript
T
Mikael Urankar 7a6e9183c8 databases/galera26: fix build on aarch64
The __bswapXX_var macro are not available on arm*, use bswapXX instead
Add cpu feature detection on arm*

PR:		250664
Reported by:	Vincent Milum Jr
Approved by:	portmgr (tier-2 blanket)
2020-11-09 15:59:42 +00:00

13 lines
413 B
Plaintext

--- galerautils/SConscript.orig 2020-10-27 20:24:02 UTC
+++ galerautils/SConscript
@@ -48,7 +48,9 @@ if not crc32c_no_hardware:
int main()
{
+ #if defined(__linux__)
(void)getauxval(AT_HWCAP);
+ #endif
(void)__crc32b(0, 0);
(void)__crc32h(0, 0);