From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 94578138262 for ; Mon, 23 May 2016 06:19:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86A461423F; Mon, 23 May 2016 06:19:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 795AD14257 for ; Mon, 23 May 2016 06:19:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 25697340C9C for ; Mon, 23 May 2016 06:19:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6EC841B8A for ; Mon, 23 May 2016 06:18:59 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1463889633.3041a9deec4adf30339aec0b37f440af19e7334a.heroxbd@gentoo> Subject: [gentoo-commits] dev/heroxbd:master commit in: eclass/ X-VCS-Repository: dev/heroxbd X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 3041a9deec4adf30339aec0b37f440af19e7334a X-VCS-Branch: master Date: Mon, 23 May 2016 06:18:59 +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: e6d0c844-ed1b-448d-a32e-697cb9d186e4 X-Archives-Hash: a2ca8c1ff477efc943c75f0460d78ba5 commit: 3041a9deec4adf30339aec0b37f440af19e7334a Author: Benda Xu gentoo org> AuthorDate: Sun May 22 04:00:33 2016 +0000 Commit: Benda XU gentoo org> CommitDate: Sun May 22 04:00:33 2016 +0000 URL: https://gitweb.gentoo.org/dev/heroxbd.git/commit/?id=3041a9de toolchain.eclass: no need to use flag rap anymore. eclass/toolchain.eclass | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index d24e810..b9088ca 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -139,7 +139,7 @@ IUSE="multislot regression-test vanilla" IUSE_DEF=( nls nptl ) if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then - IUSE+=" altivec rap" + IUSE+=" altivec" IUSE_DEF+=( cxx fortran ) [[ -n ${PIE_VER} ]] && IUSE+=" nopie" [[ -n ${HTB_VER} ]] && IUSE+=" boundschecking" @@ -990,15 +990,6 @@ toolchain_src_configure() { confgcc+=( --enable-shared ) fi - if use rap ; then - # use sysroot of toolchain to get currect include and library at compile time - confgcc+=( --with-sysroot="${EPREFIX}" ) - - # when doing cross compiling native for target, the build sysroot - # should be pointed to SYSROOT of the cross compiler. - tc-is-cross-compiler && confgcc+=( --with-build-sysroot="${ROOT}" ) - fi - case ${CHOST} in mingw*|*-mingw*|*-cygwin) confgcc+=( --enable-threads=win32 ) ;; @@ -1855,18 +1846,6 @@ fix_libtool_libdir_paths() { popd >/dev/null } -prefix_gcc_dynamic_loader() { - local dlf - - case $(tc-arch) in - amd64) dlf=i386/linux64.h ;; - arm) dlf=arm/linux-eabi.h ;; - x86) dlf=i386/linux.h ;; - esac - - eprefixify gcc/config/${dlf} -} - create_gcc_env_entry() { dodir /etc/env.d/gcc local gcc_envd_base="/etc/env.d/gcc/${CTARGET}-${GCC_CONFIG_VER}"