commit: 0b5a793dab90853dce0fb1d202f157c6ed415f18
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 15 10:41:52 2019 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 10:41:52 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b5a793d
sci-mathematics/gmp-ecm: Fix custom-tune useflag
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
.../gmp-ecm/{gmp-ecm-7.0.4.ebuild => gmp-ecm-7.0.4-r1.ebuild} | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4.ebuild
b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r1.ebuild
similarity index 92%
rename from sci-mathematics/gmp-ecm/gmp-ecm-7.0.4.ebuild
rename to sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r1.ebuild
index 54f7a1bbd2d..67ee9231661 100644
--- a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4.ebuild
+++ b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r1.ebuild
@@ -41,8 +41,7 @@ src_configure() {
src_compile() {
append-ldflags "-Wl,-z,noexecstack"
if use custom-tune; then
- use amd64 && cd x86_64
- use x86 && cd pentium4
+ emake && emake ecm-params # need to build all to get benchmark
bits, then run benchmark
emake
fi
default