From: Bernd Kuhls Date: Sat, 11 Nov 2017 16:22:42 +0000 (+0100) Subject: package/ffmpeg: fix fenv build failure on ARCv2 with glibc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a0042f6d7a526d4addce81286ca77c0a8ca656f;p=buildroot.git package/ffmpeg: fix fenv build failure on ARCv2 with glibc https://git.buildroot.net/buildroot/commit/toolchain?id=0633eb58a2912328508a76f8fe9875a0d113a880 added glibc support for ARCv2 which lacks fenv.h. Code format was suggested by Arnout: http://lists.busybox.net/pipermail/buildroot/2017-November/206631.html Fixes http://autobuild.buildroot.net/results/aec/aec300d7d4472421398a24202d6871c965bd1be5/ Signed-off-by: Bernd Kuhls [Thomas: adjust how the Config.in dependency is expressed.] Signed-off-by: Thomas Petazzoni --- diff --git a/package/ffmpeg/Config.in b/package/ffmpeg/Config.in index 17a4881348..487ca449c8 100644 --- a/package/ffmpeg/Config.in +++ b/package/ffmpeg/Config.in @@ -1,6 +1,8 @@ config BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS bool default y + # fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW + depends on !(BR2_archs38 && BR2_TOOLCHAIN_USES_GLIBC) # fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2 depends on !BR2_nios # No support for ARMv7-M in the ARM assembly logic