aboutsummaryrefslogtreecommitdiffstats
path: root/community/z3/immintrin-i386-only.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/z3/immintrin-i386-only.patch')
-rw-r--r--community/z3/immintrin-i386-only.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/z3/immintrin-i386-only.patch b/community/z3/immintrin-i386-only.patch
new file mode 100644
index 0000000000..d4be4d8043
--- /dev/null
+++ b/community/z3/immintrin-i386-only.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
++#if defined(__i386__) || defined(__amd64__)
+ #include <immintrin.h>
++#endif
+
+ // Available GCD algorithms
+ // #define EUCLID_GCD