haproxy: use generic libatomic checks
This commit is contained in:
parent
e3541364fa
commit
16139f04c7
1 changed files with 4 additions and 3 deletions
|
@ -23,9 +23,10 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
*-musl) CFLAGS="-D__LINUX_NETFILTER_H";;
|
||||
esac
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv[56]*|mips*|ppc|ppc-musl) ADDLIB="-latomic"; makedepends+=" libatomic-devel";;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
ADDLIB="-latomic"
|
||||
fi
|
||||
|
||||
|
||||
do_build() {
|
||||
|
|
Loading…
Reference in a new issue