mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
apr-util: use generic libatomic checks
This commit is contained in:
parent
b2fa3fbe63
commit
5c67446aa7
1 changed files with 4 additions and 7 deletions
|
@ -20,13 +20,10 @@ license="Apache-2.0"
|
||||||
distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2"
|
distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b
|
checksum=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
ppc64*);;
|
makedepends+=" libatomic-devel"
|
||||||
ppc*|armv[56]*|mips*)
|
LDFLAGS="-latomic"
|
||||||
makedepends+=" libatomic-devel"
|
fi
|
||||||
LDFLAGS="-latomic"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i configure \
|
sed -i configure \
|
||||||
|
|
Loading…
Add table
Reference in a new issue