1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-06 14:49:50 +00:00

numactl: Link with libatomic on rv64/rv32

bring a missing commit from meta-oe

Fixes
riscv64-yoe-linux/10.2.0/ld: ./.libs/libnuma.so: undefined reference to `__atomic_fetch_and_1'

(From OE-Core rev: ea70d7f8f78cd793242cf6804840507d2ebd2871)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2020-11-03 22:24:03 -08:00
committed by Richard Purdie
parent ea5880f9f9
commit af1ed1aaf4
@@ -22,6 +22,9 @@ SRC_URI = "git://github.com/numactl/numactl \
S = "${WORKDIR}/git"
LDFLAGS_append_riscv64 = " -latomic"
LDFLAGS_append_riscv32 = " -latomic"
do_install() {
oe_runmake DESTDIR=${D} prefix=${D}/usr install
#remove the empty man2 directory