diff --git a/srcpkgs/lc0/template b/srcpkgs/lc0/template index ba2e8dd8bb..50863ab6da 100644 --- a/srcpkgs/lc0/template +++ b/srcpkgs/lc0/template @@ -2,6 +2,7 @@ pkgname=lc0 version=0.28.0 revision=1 +archs="x86_64* i686* aarch64* armv[67]l* ppc64le*" build_style=meson configure_args="-Dgtest=false" _lczero_commit=5680c5fad9f3b52288d67f738b272fd09de5ee0b @@ -29,6 +30,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" fi +case "$XBPS_TARGET_MACHINE" in + ppc*) export CXXFLAGS+=" -DNO_WARN_X86_INTRINSICS";; +esac + post_extract() { rmdir libs/lczero-common mv ../lczero-common-${_lczero_commit} libs/lczero-common