package/bluez-alsa: needs gcc >= 4.9
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 23 Jul 2021 20:07:58 +0000 (22:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 24 Jul 2021 20:08:32 +0000 (22:08 +0200)
bluez-alsa needs C11/stdatomic.h since bump to version 3.1.0 in commit
c4041c230c18d3a9d82bfc6a96b2ceaabddbc94b and
https://github.com/Arkq/bluez-alsa/commit/04d904326ae77e2919bcfa56245cb7adbc19278a

Fixes:
 - http://autobuild.buildroot.org/results/a8cd389796bbc8488e5b5aea995d1cef4c581e8d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/bluez-alsa/Config.in

index 2f103f409c7a218cf38bd3ad5bf7161393872c51..a31d125d9d913c746d8de3d1b58a6a878f54509c 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_BLUEZ_ALSA
        bool "bluez-alsa"
        depends on !BR2_STATIC_LIBS # bluez5
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5
@@ -33,8 +34,9 @@ config BR2_PACKAGE_BLUEZ_ALSA_RFCOMM
 
 endif
 
-comment "bluez-alsa needs a toolchain w/ wchar, NPTL, headers >= 3.4, dynamic library"
+comment "bluez-alsa needs a toolchain w/ wchar, NPTL, headers >= 3.4, dynamic library, gcc >= 4.9"
        depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
-               !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS
+               !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS || \
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
        depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on BR2_USE_MMU