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