From 980e1b634d138ee9b711866abdecf11b51d4cbde Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sat, 4 Jun 2016 20:40:47 -0400 Subject: [PATCH] sys-libs/musl: add TODO comment wrt obtaining arch name Package-Manager: portage-2.2.28 --- sys-libs/musl/musl-9999.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild index bf1ebe9fc035..3c6e9c8b6a1f 100644 --- a/sys-libs/musl/musl-9999.ebuild +++ b/sys-libs/musl/musl-9999.ebuild @@ -102,6 +102,8 @@ src_install() { dosym ${sysroot}/lib/${ldso} ${sysroot}/usr/bin/ldd if [[ ${CATEGORY} != cross-* ]] ; then + # TODO: We may be able to simplify this code by obtianing the arch name with + # /usr/lib/libc.so 2>&1 | sed -n 's/^.*(\(.*\))$/\1/;1p' local target=$(tc-arch) arch local endian=$(musl_endian) case ${target} in -- 2.26.2