mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-21 16:47:00 +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"
|
||||
checksum=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*);;
|
||||
ppc*|armv[56]*|mips*)
|
||||
makedepends+=" libatomic-devel"
|
||||
LDFLAGS="-latomic"
|
||||
;;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
LDFLAGS="-latomic"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
sed -i configure \
|
||||
|
|
Loading…
Add table
Reference in a new issue