intel-gpu-tools/intel-gpu-tools-1.20-x86-ftbfs.patch

14 lines
349 B
Diff

diff --git a/lib/igt_x86.h b/lib/igt_x86.h
index d6dcfa1..27b7f0f 100644
--- a/lib/igt_x86.h
+++ b/lib/igt_x86.h
@@ -40,7 +40,7 @@
#define AVX 0x80
#define AVX2 0x100
-#if defined(__x86_64__)
+#if defined(__x86_64__) || defined(__i386__)
unsigned igt_x86_features(void);
char *igt_x86_features_to_string(unsigned features, char *line);
#else