kumquat-buildroot/package/libyang/Config.in
Fabrice Fontaine 4efeea55ea package/libyang: needs __sync_*_4 intrinsics
libyang needs __sync_*_4 intrinsics since bump to version 2.0.112 in
commit 2a3edc5e00 and
080064b790:

/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/9.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: ../../libyang.so.2.13.7: undefined reference to `__sync_fetch_and_sub_4'

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-12-12 13:21:41 +01:00

16 lines
499 B
Plaintext

config BR2_PACKAGE_LIBYANG
bool "libyang"
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrinsics
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_PCRE2
help
Libyang is YANG data modeling language parser and toolkit
written (and providing API) in C.
https://github.com/CESNET/libyang
comment "libyang needs a toolchain w/ threads, dynamic library"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS