config BR2_PACKAGE_LIBFASTJSON
bool "libfastjson"
- # uses __sync_val_compare_and_swap_4
- depends on BR2_TOOLCHAIN_HAS_SYNC_4
+ # uses the __sync_*_4 intrisics, or pthreads to emulate atomicity
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS
help
Libfastjson - A fast json library for C
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS # modules
- depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libfastjson
+ # Propagate the exact same dependency from libfastjson,
+ # even though rsyslog already depends on threads for itself:
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
help
Rsyslog is a powerful and flexible syslog implementation
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
- depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
\ No newline at end of file
+ depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS