mirror of https://github.com/openwrt/packages.git
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 <daniel@makrotopia.org> |
||
|---|---|---|
| .. | ||
| files | ||
| patches | ||
| Config.in | ||
| Makefile | ||
| pecl.mk | ||
| test.sh | ||