summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2020-03-02 09:03:40 -0500
committerMichael Orlitzky <mjo@gentoo.org>2020-03-02 12:20:46 -0500
commitf503f4650237eee281e0fb2b1afab795af2b21c5 (patch)
tree49cd138741d0d628e1c66f0f42c7e6373f4b04db /sci-mathematics/gmp-ecm
parentsci-libs/umfpack: new version 5.7.9. (diff)
downloadgentoo-f503f4650237eee281e0fb2b1afab795af2b21c5.tar.gz
gentoo-f503f4650237eee281e0fb2b1afab795af2b21c5.tar.bz2
gentoo-f503f4650237eee281e0fb2b1afab795af2b21c5.zip
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@gentoo.org>
Diffstat (limited to 'sci-mathematics/gmp-ecm')
-rw-r--r--sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild5
1 files 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 fa9bae778568..f93af7a063f1 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() {