summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-04 20:42:40 +0000
committerSam James <sam@gentoo.org>2021-12-04 20:42:50 +0000
commite4968590efb4cc754cd1964a9b989aa3139f375d (patch)
treeb914aa22ad1d96edf2f1761812bd981b9edf32f6 /sys-libs
parentdev-dotnet/dotnet-sdk-bin: Add workload definition for 6.0.100 (diff)
downloadgentoo-e4968590efb4cc754cd1964a9b989aa3139f375d.tar.gz
gentoo-e4968590efb4cc754cd1964a9b989aa3139f375d.tar.bz2
gentoo-e4968590efb4cc754cd1964a9b989aa3139f375d.zip
sys-libs/libucontext: fix arch detection for amd64
Closes: https://bugs.gentoo.org/828142 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libucontext/libucontext-1.1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-libs/libucontext/libucontext-1.1.ebuild b/sys-libs/libucontext/libucontext-1.1.ebuild
index 0e825c18bc26..f637a693a337 100644
--- a/sys-libs/libucontext/libucontext-1.1.ebuild
+++ b/sys-libs/libucontext/libucontext-1.1.ebuild
@@ -35,6 +35,8 @@ src_compile() {
arch="aarch64"
elif use ppc64 ; then
arch="ppc64"
+ else
+ arch="$(uname -m)"
fi
emake ARCH="${arch}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" all $(usev man 'docs')