7a6e9183c8
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)
13 lines
413 B
Plaintext
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);
|