mariadb: use libatomic on ppc
[ci skip]
This commit is contained in:
parent
d61fe4d167
commit
8012a2cb9f
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ checksum=173a5e5a24819e0a469c3bd09b5c98491676c37c6095882a2ea34c5af0996c88
|
|||
CFLAGS="-w"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv[56]*) LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -latomic"
|
||||
armv[56]*|ppc|ppc-musl) LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -latomic"
|
||||
hostmakedepends+=" libatomic-devel"
|
||||
makedepends+=" libatomic-devel"
|
||||
;;
|
||||
|
@ -43,7 +43,7 @@ esac
|
|||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv[56]*) find -name CMakeLists.txt -exec sed -i "{}" \
|
||||
armv[56]*|ppc|ppc-musl) find -name CMakeLists.txt -exec sed -i "{}" \
|
||||
-e "/TARGET_LINK_LIBRARIES/s;); atomic);" \;
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue