mariadb: fix armv5* also
This commit is contained in:
parent
cfa06e29b9
commit
71dadf372f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue