From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5547A1396D9 for ; Tue, 24 Oct 2017 17:38:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A06522BC024; Tue, 24 Oct 2017 17:38:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7DCC82BC024 for ; Tue, 24 Oct 2017 17:38:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 931EE33BE68 for ; Tue, 24 Oct 2017 17:38:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1EA9D82C for ; Tue, 24 Oct 2017 17:38:07 +0000 (UTC) From: "Steve Arnold" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Steve Arnold" Message-ID: <1508866375.a5554b4a85fa320781af41483488cfc65d22b98c.nerdboy@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: nerdboy X-VCS-Committer-Name: Steve Arnold X-VCS-Revision: a5554b4a85fa320781af41483488cfc65d22b98c X-VCS-Branch: master Date: Tue, 24 Oct 2017 17:38:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e1fa5a99-6e08-48df-82c1-29add1d5a900 X-Archives-Hash: a9ebd88cf7f918d52406ce56d4fee33a commit: a5554b4a85fa320781af41483488cfc65d22b98c Author: Steve Arnold gentoo org> AuthorDate: Tue Oct 24 17:32:55 2017 +0000 Commit: Steve Arnold gentoo org> CommitDate: Tue Oct 24 17:32:55 2017 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=a5554b4a Update avr/armv7m with USE=cxx for stage4, use crossdev HCHOST variable * upstream projects need c++, however, stage3 is still the default Signed-off-by: Steve Arnold gentoo.org> crossdev | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/crossdev b/crossdev index 1a0bded..0eaa721 100755 --- a/crossdev +++ b/crossdev @@ -227,8 +227,9 @@ parse_target() { avr*) KPKG="[none]" LCAT="dev-embedded" LPKG="avr-libc" - GUSE="-fortran -go -pie nopie" # doesn't work + GUSE+=" -fortran -go -pie nopie" # doesn't work MULTILIB_USE="yes" #377039 + BUSE+=" cxx" STAGE_DEFAULT=${STAGE_LIBC} MAKE_SYMLINK="yes" WITH_DEF_HEADERS="no";; @@ -306,7 +307,7 @@ parse_target() { LPKG="newlib" KPKG="[none]" STAGE_DEFAULT=${STAGE_LIBC} - GUSE+=" -openmp" #489798 + GUSE+=" cxx -openmp" #489798 MULTILIB_USE="yes" #407275 WITH_DEF_HEADERS="no" ;; @@ -1229,7 +1230,7 @@ USE="${USE} -selinux" if ! ex_fast ; then # stage 0: binutils - doemerge ${BPKG} + USE="${BUSE}" doemerge ${BPKG} # stage1: bare C compiler if is_s1 ; then @@ -1292,7 +1293,7 @@ if ! ex_fast ; then if [[ ${MAKE_SYMLINK} == "yes" ]] ; then case ${CTARGET} in avr*) ( ! [[ -h ${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && [[ -d ${EPREFIX}/usr/${CTARGET}/lib ]] ) && \ - ln -s ${EPREFIX}/usr/${CHOST}/${CTARGET}/lib/ldscripts ${EPREFIX}/usr/${CTARGET}/lib/ + ln -s ${EPREFIX}/usr/${HCHOST}/${CTARGET}/lib/ldscripts ${EPREFIX}/usr/${CTARGET}/lib/ ;; *) ;; esac