f665acb88c
threads are mandatory since bump to version 2.2.0 in commit
af6f7aa76d
and
https://git.savannah.gnu.org/cgit/lightning.git/commit/?id=d5a7c8e4ad719e84dbb4904c532f906a1ef5a77b:
In file included from incr.c:2:
../include/lightning.h:27:10: fatal error: pthread.h: No such file or directory
27 | #include <pthread.h>
| ^~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/62205869159d4a73c59a9795140fa77e9c3310ae
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
34 lines
1001 B
Plaintext
34 lines
1001 B
Plaintext
comment "lightning needs a toolchain w/ dynamic library, threads"
|
|
depends on BR2_sparc || BR2_i386 || BR2_x86_64 || BR2_mips || \
|
|
BR2_mipsel || BR2_arm || BR2_powerpc || BR2_RISCV_64
|
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_LIGHTNING
|
|
bool "lightning"
|
|
depends on BR2_sparc || BR2_i386 || BR2_x86_64 || BR2_mips || \
|
|
BR2_mipsel || BR2_arm || BR2_powerpc || BR2_RISCV_64
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
help
|
|
GNU lightning is a library that generates
|
|
assembly language code at run-time.
|
|
|
|
https://www.gnu.org/software/lightning/
|
|
|
|
if BR2_PACKAGE_LIGHTNING
|
|
|
|
config BR2_PACKAGE_LIGHTNING_DISASSEMBLER
|
|
bool "enable disassembler"
|
|
depends on !BR2_nios2 # binutils
|
|
depends on BR2_USE_WCHAR # binutils
|
|
select BR2_PACKAGE_BINUTILS
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
Enable the GNU lightning disassembler.
|
|
|
|
comment "lightning disassembler needs a toolchain w/ wchar"
|
|
depends on !BR2_nios2
|
|
depends on !BR2_USE_WCHAR
|
|
|
|
endif
|