diff --git a/srcpkgs/python3-scipy/template b/srcpkgs/python3-scipy/template index c96b999a5fd..7976bc003ce 100644 --- a/srcpkgs/python3-scipy/template +++ b/srcpkgs/python3-scipy/template @@ -28,6 +28,13 @@ case "$XBPS_TARGET_MACHINE" in *) ;; esac +if [ "$build_option_openblas" ]; then + case "$XBPS_TARGET_MACHINE" in + ppc64*) ;; + ppc*) broken="numpy can't be built with openblas";; + esac +fi + LDFLAGS+=" -shared" # Tell numpy to build in parallel