mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-12 13:46:47 +00:00
numactl: Link with libatomic on rv64/rv32
Fixes riscv64-yoe-linux/10.2.0/ld: ./.libs/libnuma.so: undefined reference to `__atomic_fetch_and_1' Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
d80b5a52fd
commit
a599b850dc
@ -25,6 +25,9 @@ S = "${WORKDIR}/git"
|
||||
# ARM does not currently support NUMA
|
||||
COMPATIBLE_HOST = "^((?!arm).*)$"
|
||||
|
||||
LDFLAGS_append_riscv64 = " -latomic"
|
||||
LDFLAGS_append_riscv32 = " -latomic"
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} prefix=${D}/usr install
|
||||
#remove the empty man2 directory
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user