commit: 3041a9deec4adf30339aec0b37f440af19e7334a
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 04:00:33 2016 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> 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}"