diff --git a/srcpkgs/encfs/template b/srcpkgs/encfs/template index 405fc1f9671..ed0a47a7689 100644 --- a/srcpkgs/encfs/template +++ b/srcpkgs/encfs/template @@ -16,6 +16,9 @@ checksum=4709f05395ccbad6c0a5b40a4619d60aafe3473b1a79bafb3aa700b1f756fd63 # Can't run test programs when cross compiling if [ "$CROSS_BUILD" ]; then configure_args="-DBUILD_UNIT_TESTS=0" + case "${XBPS_TARGET_MACHINE}" in + armv[56]*) makedepends+=" libatomic-devel"; LDFLAGS="-latomic" ;; + esac fi post_install() {