encfs: use generic libatomic checks
This commit is contained in:
parent
4ca6fb8e82
commit
6891c80172
1 changed files with 4 additions and 4 deletions
|
@ -18,10 +18,10 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args="-DBUILD_UNIT_TESTS=0"
|
configure_args="-DBUILD_UNIT_TESTS=0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
ppc64*) ;;
|
makedepends+=" libatomic-devel"
|
||||||
armv[56]*|ppc*) makedepends+=" libatomic-devel"; LDFLAGS="-latomic" ;;
|
LDFLAGS+=" -latomic"
|
||||||
esac
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
chmod +x ${DESTDIR}/usr/bin/encfssh
|
chmod +x ${DESTDIR}/usr/bin/encfssh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue