mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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"
|
distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
|
||||||
checksum=31741ede58267c84c1223370a4d18e32fad26a9652371d36da7e45c0c584ae1a
|
checksum=31741ede58267c84c1223370a4d18e32fad26a9652371d36da7e45c0c584ae1a
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
ppc64*) ;;
|
CFLAGS+=" -Wl,-latomic"
|
||||||
arm*|aarch64*|ppc*)
|
makedepends="libatomic-devel"
|
||||||
CFLAGS="-Wl,-latomic"
|
fi
|
||||||
makedepends="libatomic-devel"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue