package/mesa3d: explicitely disable asm
authorRomain Naour <romain.naour@gmail.com>
Sun, 26 Mar 2017 16:28:52 +0000 (18:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Apr 2017 13:57:51 +0000 (15:57 +0200)
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 <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mesa3d/mesa3d.mk

index 6fa1599dbf7834367ebf267209dc9cfaa90d0af1..0dfa9a5a8ce97e85bf97a66cfa3576b0c7251b0b 100644 (file)
@@ -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.