mariadb: fix armv5* also

This commit is contained in:
Jürgen Buchmüller 2018-01-21 18:04:01 +01:00
parent cfa06e29b9
commit 71dadf372f
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ disable_parallel_build=yes
CFLAGS="-w"
case "$XBPS_TARGET_MACHINE" in
armv6*) LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -latomic"
armv[56]*) LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -latomic"
hostmakedepends+=" libatomic-devel"
makedepends+=" libatomic-devel"
;;
@ -47,7 +47,7 @@ esac
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
armv6*) find -name CMakeLists.txt -exec sed -i "{}" \
armv[56]*) find -name CMakeLists.txt -exec sed -i "{}" \
-e "/TARGET_LINK_LIBRARIES/s;); atomic);" \;
;;
esac