commit:     980e1b634d138ee9b711866abdecf11b51d4cbde
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  5 00:40:47 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Jun  5 00:40:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=980e1b63

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 bf1ebe9..3c6e9c8 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

Reply via email to