diff mbox

[i-g-t,3/3] meson: Disable the intel overlay on non-x86 builds.

Message ID 20170927183735.14824-3-eric@anholt.net (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Anholt Sept. 27, 2017, 6:37 p.m. UTC
It's got calls to rmb/wmb that end up not linking successfully.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
 meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/meson.build b/meson.build
index 1cc501f3062f..7a09228292fd 100644
--- a/meson.build
+++ b/meson.build
@@ -121,6 +121,8 @@  subdir('benchmarks')
 subdir('tools')
 if libdrm_intel.found()
 	subdir('assembler')
-	subdir('overlay')
+	if ['x86', 'x86_64'].contains(host_machine.cpu_family())
+		subdir('overlay')
+	endif
 endif
 subdir('man')