Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by arago-project.org (Postfix) with ESMTPS id 1EF8F52986 for ; Tue, 30 Apr 2019 23:15:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id C130340BB3; Tue, 30 Apr 2019 23:14:33 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OZBi10hkEDWa; Tue, 30 Apr 2019 23:14:33 +0000 (UTC) Received: from mail.denix.org (pool-100-15-86-127.washdc.fios.verizon.net [100.15.86.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id A8AC740B66; Tue, 30 Apr 2019 23:14:32 +0000 (UTC) Received: from gimli.denix (unknown [192.168.30.6]) by mail.denix.org (Postfix) with ESMTP id 077D916E4A4; Tue, 30 Apr 2019 19:14:32 -0400 (EDT) From: Denys Dmytriyenko To: meta-arago@arago-project.org Date: Tue, 30 Apr 2019 19:14:31 -0400 Message-Id: <1556666071-31054-1-git-send-email-denys@ti.com> X-Mailer: git-send-email 2.7.4 Subject: [thud/master][PATCH] external-arm-toolchain: fix C++ native compile, drop libc.so fix X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 23:15:00 -0000 As libc.so fix is already upstream. Signed-off-by: Denys Dmytriyenko --- meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend b/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend index 410b5cf..5cbeedf 100644 --- a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend +++ b/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend @@ -1,11 +1,9 @@ ORIG_TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS'), ''][d.getVar('TARGET_OS') == ('' or 'custom')]}" do_install_append() { - # libc.so linker script should use relative path to not clash with host libs - sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so - if [ ${EAT_TARGET_SYS} != ${ORIG_TARGET_SYS} ]; then ln -sf ${EAT_TARGET_SYS} ${D}${libdir}/${ORIG_TARGET_SYS} + ln -sf ${EAT_TARGET_SYS} ${D}${includedir}/c++/${EAT_VER_GCC}/${ORIG_TARGET_SYS} fi ln -sf libatomic.so.1 ${D}${libdir}/libatomic.so -- 2.7.4