From ebe4ac73698bb79e1129b71e69e1c0c28ace0995 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 7 Aug 2022 11:55:53 +0200 Subject: [PATCH] package/dump1090: fix dependencies dump1090 needs threads and gcc >= 4.9 since bump to version 7.2 in commit e80c99e1519dafc2cf88ab4672eecda88359ecb1 to avoid the following build failures: In file included from dump1090.c:50: dump1090.h:69:10: fatal error: pthread.h: No such file or directory 69 | #include | ^~~~~~~~~~~ In file included from dump1090.c:50:0: dump1090.h:68:23: fatal error: stdatomic.h: No such file or directory #include ^ Fixes: - http://autobuild.buildroot.org/results/a8993d9a09c79231358f50d2c1eb2e08cf7d5fd6 - http://autobuild.buildroot.org/results/7367abae7dc8187e4a2aae5397618c6e1b7aa521 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/dump1090/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/dump1090/Config.in b/package/dump1090/Config.in index 897ad46679..ca3165dc74 100644 --- a/package/dump1090/Config.in +++ b/package/dump1090/Config.in @@ -1,7 +1,13 @@ config BR2_PACKAGE_DUMP1090 bool "dump1090" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h select BR2_PACKAGE_NCURSES help Dump1090 is a simple Mode S decoder for RTLSDR devices https://github.com/flightaware/dump1090 + +comment "dump1090 needs a toolchain w/ threads, gcc >= 4.9" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9