commit: ce743c3eb6cdaf8780d9380c10a3c476c695ee1f Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Tue Jun 9 20:53:45 2020 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Tue Jun 9 21:02:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce743c3e
sci-libs/openblas: fix AR usage in the latest version. Upstream sets $AR unconditionally in a non-autotools Makefile, so we have to try extra hard to override it. Closes: https://bugs.gentoo.org/725608 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> sci-libs/openblas/openblas-0.3.9.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sci-libs/openblas/openblas-0.3.9.ebuild b/sci-libs/openblas/openblas-0.3.9.ebuild index 9aa17003313..c200d21b519 100644 --- a/sci-libs/openblas/openblas-0.3.9.ebuild +++ b/sci-libs/openblas/openblas-0.3.9.ebuild @@ -54,8 +54,10 @@ src_unpack() { } src_compile() { - emake - emake -Cinterface shared-blas-lapack + # We have to try extra hard to override AR for now. + # https://github.com/xianyi/OpenBLAS/issues/2654 + emake AR="$(tc-getAR)" + emake AR="$(tc-getAR)" -Cinterface shared-blas-lapack if use index-64bit; then emake -C"${S}-index-64bit" INTERFACE64=1 LIBPREFIX=libopenblas64 fi