RandomX: use generic libatomic checks
This commit is contained in:
parent
cf87a285b9
commit
9fdda4275b
1 changed files with 4 additions and 7 deletions
|
@ -10,13 +10,10 @@ homepage="https://github.com/tevador/RandomX"
|
|||
distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
|
||||
checksum=31741ede58267c84c1223370a4d18e32fad26a9652371d36da7e45c0c584ae1a
|
||||
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
ppc64*) ;;
|
||||
arm*|aarch64*|ppc*)
|
||||
CFLAGS="-Wl,-latomic"
|
||||
makedepends="libatomic-devel"
|
||||
;;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
CFLAGS+=" -Wl,-latomic"
|
||||
makedepends="libatomic-devel"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in a new issue