commit: dbad4c5439a12098e0cb64c75e2e085f8238efa4
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 24 04:20:57 2014 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Oct 24 04:20:57 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/toolchain.git;a=commit;h=dbad4c54
gcc: pull 4.10 from 4.9
---
sys-devel/gcc/gcc-4.10.0_alpha20140411.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140413.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140420.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140427.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140504.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140511.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140518.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140525.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140601.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140608.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140615.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140622.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140629.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140706.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140713.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140720.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140727.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140803.ebuild | 14 ++++++++++----
sys-devel/gcc/gcc-4.10.0_alpha20140810.ebuild | 14 ++++++++++----
19 files changed, 190 insertions(+), 76 deletions(-)
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140411.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140411.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140411.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140411.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140413.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140413.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140413.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140413.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140420.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140420.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140420.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140420.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140427.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140427.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140427.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140427.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140504.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140504.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140504.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140504.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140511.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140511.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140511.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140511.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140518.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140518.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140518.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140518.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140525.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140525.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140525.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140525.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140601.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140601.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140601.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140601.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140608.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140608.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140608.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140608.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140615.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140615.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140615.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140615.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140622.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140622.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140622.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140622.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140629.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140629.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140629.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140629.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140706.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140706.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140706.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140706.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140713.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140713.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140713.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140713.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140720.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140720.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140720.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140720.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140727.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140727.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140727.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140727.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140803.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140803.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140803.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140803.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}
diff --git a/sys-devel/gcc/gcc-4.10.0_alpha20140810.ebuild
b/sys-devel/gcc/gcc-4.10.0_alpha20140810.ebuild
index 89c4ba3..1006caa 100644
--- a/sys-devel/gcc/gcc-4.10.0_alpha20140810.ebuild
+++ b/sys-devel/gcc/gcc-4.10.0_alpha20140810.ebuild
@@ -8,16 +8,22 @@ GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
+IUSE="debug"
RDEPEND=""
DEPEND="${RDEPEND}
- >=${CATEGORY}/binutils-2.16.1"
+ amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
+ >=${CATEGORY}/binutils-2.18"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )"
+fi
src_prepare() {
toolchain_src_prepare
- use vanilla && return 0
+ use debug && GCC_CHECKS_LIST="yes"
- # Fix cross-compiling
- epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
+ use vanilla && return 0
+ [[ ${CHOST} == ${CTARGET} ]] && epatch
"${GCC_FILESDIR}"/gcc-spec-env-r1.patch
}