New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/26887#issuecomment-737425049 Comment: Check for `XBPS_TARGET_NO_ATOMIC8` and add `makedepends+=" libatomic-devel"`. If you're lucky it just works; otherwise you'll need to add `LDFLAGS` or `LDLIBS` that are `=-latomic`. Actually no, it's cmake. If just adding `libatomic-devel` isn't enough, use `-DCMAKE_(CXX|C)_STANDARD_LIBRARIES=-latomic` (idk if it's C or C++).