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"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6*|ppc|ppc-musl) makedepends+=" libatomic-devel" # Need libatomic for __atomic_fetch_add_8 etc.
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6*|ppc|ppc-musl) sed -i 's/PRIVATE ${ZLIB_LIBRARIES}/\0\n atomic/' CMakeLists.txt
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
sed -i 's/PRIVATE ${ZLIB_LIBRARIES}/\0\n atomic/' CMakeLists.txt
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue