commit: f503f4650237eee281e0fb2b1afab795af2b21c5 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Mon Mar 2 14:03:40 2020 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Mon Mar 2 17:20:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f503f465
sci-mathematics/gmp-ecm: add "emake clean" to force a rebuild. Taking another shot at making USE=custom-tune do what it's supposed to do. The project's targets don't depend on ecm-params.h, so after we generate them, we need to "emake clean" and rebuild everything manually in order to use the custom parameters. Bug: https://bugs.gentoo.org/711078 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild index fa9bae77856..f93af7a063f 100644 --- a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild +++ b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild @@ -32,8 +32,9 @@ src_compile() { # One "emake" was needed to build the library. Now we can find # the best set of parameters, and then run "emake" one more time # to rebuild the library with the custom parameters. See the - # project's README or INSTALL-ecm - emake ecm-params && emake + # project's README or INSTALL-ecm. The build targets don't depend + # on ecm-params.h, so we need to "make clean" to force a rebuild. + emake ecm-params && emake clean && emake fi } src_configure() {