summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-05-22 13:00:33 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-05-22 13:00:33 +0900
commit3041a9deec4adf30339aec0b37f440af19e7334a (patch)
tree17997a04d756503f944d2530b9e01c4014281fe0
parentsys-apps/sed: usex and src_prepare updates. (diff)
downloadheroxbd-3041a9deec4adf30339aec0b37f440af19e7334a.tar.gz
heroxbd-3041a9deec4adf30339aec0b37f440af19e7334a.tar.bz2
heroxbd-3041a9deec4adf30339aec0b37f440af19e7334a.zip
toolchain.eclass: no need to use flag rap anymore.
-rw-r--r--eclass/toolchain.eclass23
1 files changed, 1 insertions, 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}"