aboutsummaryrefslogtreecommitdiff
path: root/databases/galera26/files/patch-galerautils_SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'databases/galera26/files/patch-galerautils_SConscript')
-rw-r--r--databases/galera26/files/patch-galerautils_SConscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/galera26/files/patch-galerautils_SConscript b/databases/galera26/files/patch-galerautils_SConscript
new file mode 100644
index 000000000000..70e82cba8867
--- /dev/null
+++ b/databases/galera26/files/patch-galerautils_SConscript
@@ -0,0 +1,12 @@
+--- 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);