jack_capture: use generic libatomic checks
This commit is contained in:
parent
1f5adf105b
commit
10864d8bc7
1 changed files with 4 additions and 6 deletions
|
@ -13,12 +13,10 @@ distfiles="https://github.com/kmatheussen/${pkgname}/archive/${version}.tar.gz"
|
|||
checksum=21afb0257ed7437708cc9e5bec2f6299599461b7eec8bf66967d8ecadb0751de
|
||||
CFLAGS+=" -D__USE_GNU"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6l*|ppc|ppc-musl)
|
||||
makedepends+=" libatomic-devel"
|
||||
LDFLAGS+=" -latomic"
|
||||
;;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
LDFLAGS+=" -latomic"
|
||||
fi
|
||||
|
||||
pre_build() {
|
||||
sed -i -e "s/^CC=gcc/CC=$CC/" -e "s/^CPP=g++/CPP=$CXX/" Makefile
|
||||
|
|
Loading…
Reference in a new issue