LGOGDownloader: use generic libatomic checks
This commit is contained in:
parent
f0a1b3c904
commit
cf87a285b9
1 changed files with 6 additions and 6 deletions
|
@ -18,12 +18,12 @@ if [ -z "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" help2man"
|
hostmakedepends+=" help2man"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
armv6*|ppc|ppc-musl) makedepends+=" libatomic-devel" # Need libatomic for __atomic_fetch_add_8 etc.
|
makedepends+=" libatomic-devel"
|
||||||
esac
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
armv6*|ppc|ppc-musl) sed -i 's/PRIVATE ${ZLIB_LIBRARIES}/\0\n atomic/' CMakeLists.txt
|
sed -i 's/PRIVATE ${ZLIB_LIBRARIES}/\0\n atomic/' CMakeLists.txt
|
||||||
esac
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue