package/libass: add asm support for Intel archs
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 1 Aug 2015 15:12:47 +0000 (17:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 4 Nov 2015 23:06:03 +0000 (00:06 +0100)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libass/libass.mk

index 643a35eb3a4a3c80de54bfdcc612cc129bcd8386..f1f00f356cc61ba61f0e13f4c16203272a5fd9cd 100644 (file)
@@ -18,6 +18,12 @@ LIBASS_DEPENDENCIES = \
        libfribidi \
        $(if $(BR2_PACKAGE_LIBICONV),libiconv)
 
+# configure: WARNING: Install yasm for a significantly faster libass build.
+# only for Intel archs
+ifeq ($(BR2_i386)$(BR2_x86_64),y)
+LIBASS_DEPENDENCIES += host-yasm
+endif
+
 ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
 LIBASS_DEPENDENCIES += fontconfig
 LIBASS_CONF_OPTS += --enable-fontconfig