sci-mathematics/gmp-ecm: Fix custom-tune useflag
authorPatrick Lauer <patrick@gentoo.org>
Sun, 15 Sep 2019 10:41:52 +0000 (10:41 +0000)
committerPatrick Lauer <patrick@gentoo.org>
Sun, 15 Sep 2019 10:41:52 +0000 (10:41 +0000)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r1.ebuild [moved from sci-mathematics/gmp-ecm/gmp-ecm-7.0.4.ebuild with 92% similarity]

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 54f7a1bbd2df797616599ca702be1abc9651ff6e..67ee9231661060608d2f069ff37a292ab6c7148c 100644 (file)
@@ -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