mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
php: Link with libatomic on rv64
Fixes: | /usr/src/debug/php/8.2.6-r0/Zend/zend_atomic.h:105: undefined reference to `__atomic_exchange_1' Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -129,6 +129,7 @@ CFLAGS += " -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -DPTYS_ARE_GETPT -DPTYS_ARE_S
|
||||
CFLAGS += " -DHAVE_LIBDL "
|
||||
LDFLAGS += " -ldl "
|
||||
LDFLAGS:append:libc-musl = " -lucontext "
|
||||
LDFLAGS:append:riscv64 = " -latomic"
|
||||
|
||||
EXTRA_OEMAKE = "INSTALL_ROOT=${D}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user