summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-11-03 22:24:03 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-08 14:03:20 +0000
commitaf1ed1aaf4947dc8ee172766913ccef9557a429a (patch)
tree0ceb5b2e0b5f53b18faeef34255fc55610361464
parentea5880f9f943a94491fef3af3f3cf94cd6087c4a (diff)
downloadpoky-af1ed1aaf4947dc8ee172766913ccef9557a429a.tar.gz
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>
-rw-r--r--meta/recipes-support/numactl/numactl_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/numactl/numactl_git.bb b/meta/recipes-support/numactl/numactl_git.bb
index 5640173aa9..6c8a667a41 100644
--- a/meta/recipes-support/numactl/numactl_git.bb
+++ b/meta/recipes-support/numactl/numactl_git.bb
@@ -22,6 +22,9 @@ SRC_URI = "git://github.com/numactl/numactl \
22 22
23S = "${WORKDIR}/git" 23S = "${WORKDIR}/git"
24 24
25LDFLAGS_append_riscv64 = " -latomic"
26LDFLAGS_append_riscv32 = " -latomic"
27
25do_install() { 28do_install() {
26 oe_runmake DESTDIR=${D} prefix=${D}/usr install 29 oe_runmake DESTDIR=${D} prefix=${D}/usr install
27 #remove the empty man2 directory 30 #remove the empty man2 directory