Skip to contentSkip to conversation

qpdf: Link with libatomic on rv32

PATCH New Khem Raj 1 participant 1 message Nov 16, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 qpdf: Link with libatomic on rv32

Fixes
libqpdf/build/.libs/libqpdf.so: undefined reference to `__atomic_fetch_add_8'

---
 meta-oe/recipes-printing/qpdf/qpdf_10.0.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-printing/qpdf/qpdf_10.0.1.bb +1 -0
index 600508097b..5965b8d09d 100644
@@ -21,6 +21,7 @@ EXTRA_OECONF = "--without-random \
 EXTRA_OEMAKE_class-target = "LIBTOOL=${HOST_SYS}-libtool"
 
 LDFLAGS_append_mipsarch = " -latomic"
+LDFLAGS_append_riscv32 = " -latomic"
 
 S="${WORKDIR}/${BPN}-${PV}"
 
Signature · 1 line
2.29.2