package/qpdf: needs atomic

qpdf needs atomic since bump to version 10.5.0 in commit
b5352c2177 and
c5c1a028cd:

/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/bin/ld.real: /home/buildroot/autobuild/instance-2/output-1/build/qpdf-10.5.0/libqpdf/build/.libs/libqpdf.a(QPDF.o): in function `QPDF::QPDF()':
QPDF.cc:(.text+0x48de): undefined reference to `__atomic_fetch_add_8'

Fixes:
 - http://autobuild.buildroot.org/results/7e18689670dcbe491c35f0597e5c3c787936263f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-01-04 22:07:27 +01:00 committed by Thomas Petazzoni
parent ebce685e1d
commit abb9e8dae2
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@ config BR2_PACKAGE_CUPS_FILTERS
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_PACKAGE_CUPS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # qpdf
depends on BR2_TOOLCHAIN_HAS_ATOMIC # qpdf
select BR2_PACKAGE_JPEG
select BR2_PACKAGE_FONTCONFIG
select BR2_PACKAGE_FREETYPE
@ -33,6 +34,7 @@ config BR2_PACKAGE_CUPS_FILTERS
comment "cups-filters needs a toolchain w/ wchar, C++, threads and dynamic library, gcc >= 5"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_USE_WCHAR || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_5

View File

@ -2,6 +2,7 @@ config BR2_PACKAGE_QPDF
bool "qpdf"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
depends on BR2_TOOLCHAIN_HAS_ATOMIC
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_JPEG
select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL
@ -16,5 +17,6 @@ config BR2_PACKAGE_QPDF
http://qpdf.sourceforge.net/
comment "qpdf needs a toolchain w/ C++, gcc >= 5"
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_5