Browse Source

ffmpeg: disable freetype support on microblaze/glibc

Fixes http://autobuild.buildroot.net/results/6dd/6ddefaf001b9275ee073effbd6eb07be9f43e24d/

While it does provide fenv.h, it doesn't support the needed exceptions so
disable it.

Reported-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 10 years ago
parent
commit
64a49804fb
1 changed files with 3 additions and 2 deletions
  1. 3 2
      package/ffmpeg/ffmpeg.mk

+ 3 - 2
package/ffmpeg/ffmpeg.mk

@@ -234,8 +234,9 @@ FFMPEG_CONF_OPTS += --disable-libvpx
 endif
 
 # ffmpeg freetype support require fenv.h which is only
-# available/working on glibc
-ifeq ($(BR2_PACKAGE_FREETYPE)$(BR2_TOOLCHAIN_USES_GLIBC),yy)
+# available/working on glibc.
+# The microblaze variant doesn't provide the needed exceptions
+ifeq ($(BR2_PACKAGE_FREETYPE)$(BR2_TOOLCHAIN_USES_GLIBC)x$(BR2_microblaze),yyx)
 FFMPEG_CONF_OPTS += --enable-libfreetype
 FFMPEG_DEPENDENCIES += freetype
 else