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 <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Romain Naour 2017-03-26 18:28:52 +02:00 committed by Thomas Petazzoni
parent 59b8975047
commit d1512c2b75

View 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.