bool "fio"
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_TOOLCHAIN_HAS_THREADS
# fio uses fallocate() which becomes fallocate64() while compiling with
http://git.kernel.dk/?p=fio.git;a=summary
-comment "fio needs a toolchain w/ dynamic library, threads"
- depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+comment "fio needs a toolchain w/ dynamic library, threads, gcc >= 4.9"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_nios2
depends on BR2_USE_MMU