aboutsummaryrefslogtreecommitdiffstats
path: root/community/z3/fix-ppc64le-immintrin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/z3/fix-ppc64le-immintrin.patch')
-rw-r--r--community/z3/fix-ppc64le-immintrin.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/z3/fix-ppc64le-immintrin.patch b/community/z3/fix-ppc64le-immintrin.patch
new file mode 100644
index 0000000000..d1960a5a25
--- /dev/null
+++ b/community/z3/fix-ppc64le-immintrin.patch
@@ -0,0 +1,12 @@
+--- a/src/util/mpz.cpp
++++ b/src/util/mpz.cpp
+@@ -30,7 +30,9 @@
+ #else
+ #error No multi-precision library selected.
+ #endif
++#ifndef __powerpc64__
+ #include <immintrin.h>
++#endif
+
+ // Available GCD algorithms
+ // #define EUCLID_GCD