mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 03:47:10 +04:00
The daemon imports 64-bit atomics from libatomic where the compiler cannot inline them, but the CMake build links the library on every architecture. ATOMIC64_DEPENDS restricts the dependency to the targets that need it; --as-needed drops the unused library elsewhere. Signed-off-by: Daniel Golle <daniel@makrotopia.org>