]> git.99rst.org Git - openwrt-packages.git/commit
php8: drop libatomic dependency
authorDaniel Golle <redacted>
Thu, 10 Sep 2026 12:48:17 +0000 (13:48 +0100)
committerDaniel Golle <redacted>
Wed, 16 Sep 2026 15:35:19 +0000 (16:35 +0100)
commitb20484d843a28ac105dcf01d8790dd7a21ada0fb
tree4241b1853c4e571bd3798ff5bdd1966345d8a2c1
parent8c5df29a887321bfecc5dd8352843027b2deddd2
php8: drop libatomic dependency

PHP's configure script probes __atomic_exchange_1 as an external
function on riscv64, which only resolves against libatomic, and so
links the library although no binary references an atomic symbol.
The riscv64-only dependency and linker flag paper over that. Link
with --as-needed so the unused library is dropped and remove both;
mips and riscv64 builds import no atomic symbols.

Signed-off-by: Daniel Golle <redacted>
lang/php8/Makefile
git clone https://git.99rst.org/PROJECT