akonadi5: fix build for armv6

This commit is contained in:
John 2020-04-27 14:42:51 +02:00
parent cdc3296c7b
commit 6f9eef54e0
No known key found for this signature in database
GPG key ID: 5FDE97AF468A09B7

View file

@ -22,6 +22,16 @@ if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-tools-devel qt5-devel kconfig kcoreaddons"
fi
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
pre_configure() {
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
vsed -e "s;^\(target_link_libraries(.*\);\1 atomic;" -i src/server/CMakeLists.txt
fi
}
pre_build() {
if [ "$CROSS_BUILD" ]; then
sed -e "s?/usr/${XBPS_CROSS_TRIPLET}??g" \