commit:     e078583820483684b5d7c8c0bbd4c515c8a8b53c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 31 23:54:27 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 31 23:54:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0785838

app-arch/zstd: fix multilib x86 no exec'able stack too

Bug: https://bugs.gentoo.org/829849
Reported-by: Arfrever
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/zstd/{zstd-1.5.1-r1.ebuild => zstd-1.5.1-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/zstd/zstd-1.5.1-r1.ebuild 
b/app-arch/zstd/zstd-1.5.1-r2.ebuild
similarity index 97%
rename from app-arch/zstd/zstd-1.5.1-r1.ebuild
rename to app-arch/zstd/zstd-1.5.1-r2.ebuild
index 4e3f4fdad650..68a45fd7660c 100644
--- a/app-arch/zstd/zstd-1.5.1-r1.ebuild
+++ b/app-arch/zstd/zstd-1.5.1-r2.ebuild
@@ -34,7 +34,7 @@ mymake() {
        # - https://github.com/facebook/zstd/issues/2963
        local asm="ZSTD_NO_ASM=1"
 
-       if use amd64 ; then
+       if use amd64 && [[ ${ABI} == amd64 ]] ; then
                asm=
        fi
 

Reply via email to