New comment by pullmoll on void-packages repository https://github.com/void-linux/void-packages/pull/25753#issuecomment-713228636 Comment: In `srcpkgs/ccache/template` add the following lines to fix cross builds: ``` if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" fi pre_configure() { if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then vsed -i src/CMakeLists.txt \ -e "/add_library/a target_link_libraries(ccache_lib PRIVATE atomic)" fi } ```