diff options
authorMichael Orlitzky <>2020-03-02 09:03:40 -0500
committerMichael Orlitzky <>2020-03-02 12:20:46 -0500
commitf503f4650237eee281e0fb2b1afab795af2b21c5 (patch)
tree49cd138741d0d628e1c66f0f42c7e6373f4b04db /sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild
parentsci-libs/umfpack: new version 5.7.9. (diff)
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: Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Orlitzky <>
Diffstat (limited to 'sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild')
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 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
src_configure() {