tvheadend: depends on BR2_TOOLCHAIN_HAS_SYNC_4
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 22 Feb 2016 12:25:29 +0000 (09:25 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 25 Feb 2016 20:51:05 +0000 (21:51 +0100)
It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/610/610ef13ee1d62597f51b061cd1216e7a4e96abff/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/tvheadend/Config.in

index bfc156a5ffdbd0434c7e5363e896ce2932461f59..095ec65575056bd98b18eff99eb0871da9eb42c1 100644 (file)
@@ -1,12 +1,14 @@
 comment "tvheadend needs a toolchain w/ NPTL, headers >= 3.2, dynamic library"
        depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
                !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 || BR2_STATIC_LIBS
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
 
 config BR2_PACKAGE_TVHEADEND
        bool "tvheadend"
        depends on !BR2_STATIC_LIBS # dladdr()
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        select BR2_PACKAGE_DTV_SCAN_TABLES
        select BR2_PACKAGE_FFMPEG_AVRESAMPLE if BR2_PACKAGE_FFMPEG
        select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG