x265: depends on BR2_TOOLCHAIN_HAS_SYNC_4
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 2 Mar 2016 21:33:31 +0000 (18:33 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 2 Mar 2016 22:01:18 +0000 (23:01 +0100)
It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/6cf/6cf4cdfdcd00f92176fd8a901884a3fd0c784f24/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer1/gst1-plugins-bad/Config.in
package/x265/Config.in

index 6e7d21d126a80a7adc72717a9b4e9b170fa8f260..68fed23de430ff0e516de84a6d1472f4cf6b91af 100644 (file)
@@ -671,6 +671,7 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265
        bool "x265"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on !BR2_STATIC_LIBS
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4 # x265
        select BR2_PACKAGE_X265
        help
          x265 encoding plugin
index f268e658416010427d68775612fc2356ba7edabb..1d6eda20492c540cf8043ff96a512f220b3bdbc5 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_X265
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on !BR2_STATIC_LIBS # dlfcn
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        help
          x265 is an open source free software and library for encoding video
          using the High Efficiency Video Coding (HEVC/H.265) standard. x265 is
@@ -24,3 +25,4 @@ endif
 comment "x265 needs a toolchain w/ C++, threads, dynamic library"
        depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
                !BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4