mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
php: Link with libatomic on rv64
Fixes: | /usr/src/debug/php/8.2.5-r0/Zend/zend_atomic.h:105: undefined reference to `__atomic_exchange_1' Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -128,6 +128,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