encfs: use -latomic on ppc

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Thomas Batten 2019-05-31 10:33:21 +09:30 committed by Jürgen Buchmüller
parent 06188dec83
commit 8d1988993a
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8

View file

@ -17,7 +17,7 @@ checksum=4709f05395ccbad6c0a5b40a4619d60aafe3473b1a79bafb3aa700b1f756fd63
if [ "$CROSS_BUILD" ]; then
configure_args="-DBUILD_UNIT_TESTS=0"
case "${XBPS_TARGET_MACHINE}" in
armv[56]*) makedepends+=" libatomic-devel"; LDFLAGS="-latomic" ;;
armv[56]*|ppc|ppc-musl) makedepends+=" libatomic-devel"; LDFLAGS="-latomic" ;;
esac
fi