qtox: fix armv6l

This commit is contained in:
Enno Boland 2018-07-16 10:58:59 +02:00
parent cda72b713e
commit b5f748b47d
No known key found for this signature in database
GPG key ID: D09964719BDE9971

View file

@ -20,6 +20,11 @@ distfiles="https://github.com/qTox/qTox/archive/v${version}.tar.gz"
checksum=44a60174b0582f9d04c132dd4de663b7d67e2d68fee55912c6449a07389d8486
case "$XBPS_TARGET_MACHINE" in
armv6*) broken="https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/6098/steps/shell_3/logs/stdio"
armv6*) makedepends+=" libatomic-devel"
esac
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
armv6*) sed -i "s/${ALL_LIBRARIES})/atomic \0/" CMakeLists.txt
esac
}