From d1512c2b7551f5b010efcb60372de068670ea1ce Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sun, 26 Mar 2017 18:28:52 +0200 Subject: [PATCH] package/mesa3d: explicitely disable asm assembly are enabled by default on supported plaforms even while crosscompiling if host == target: checking whether to enable assembly... yes, x86_64 It was also disabled in the mesa package in Fedora since 7.6 [1]. [1] http://pkgs.fedoraproject.org/cgit/rpms/mesa.git/commit/?id=629c8726 Signed-off-by: Romain Naour Cc: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/mesa3d/mesa3d.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 6fa1599dbf..0dfa9a5a8c 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -22,6 +22,9 @@ MESA3D_DEPENDENCIES = \ expat \ libdrm +# Disable assembly usage. +MESA3D_CONF_OPTS = --disable-asm + # The Sourcery MIPS toolchain has a special (non-upstream) feature to # have "compact exception handling", which unfortunately breaks with # mesa3d, so we disable it here by passing -mno-compact-eh. -- 2.30.2