public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Magnus Granberg" <zorry@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-dev:testing commit in: sys-devel/gcc/, eclass/
Date: Sat, 29 Sep 2012 23:26:36 +0000 (UTC)	[thread overview]
Message-ID: <1348961099.7f7ba617058812ae3207b83028b604e16235940d.zorry@gentoo> (raw)

commit:     7f7ba617058812ae3207b83028b604e16235940d
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 29 23:24:59 2012 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Sat Sep 29 23:24:59 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=7f7ba617

update gcc-4.8 repo

---
 eclass/toolchain.eclass                            |    8 ++++----
 eclass/{toolchain.eclass => toolchain.eclass~}     |   10 +++++-----
 ...20729.ebuild => gcc-4.8.0_alpha20120909.ebuild} |    2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 0740488..6ef4355 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -951,6 +951,7 @@ src_prepare() {
 		eautoreconf
 	done
 	cd "${S}"
+	autogen Makefile.def
 	elibtoolize --portage --shallow --no-uclibc
 
 	gnuconfig_update
@@ -1057,9 +1058,6 @@ src_configure() {
 	# users to enable that option, and pull in the additional library.  In 4.6,
 	# the dependency is no longer required.
 	confgcc+=" --enable-lto"
-	
-	[[ $(tc-is-softfloat) == "yes" ]] && confgcc+=" --with-float=soft"
-	[[ $(tc-is-hardfloat) == "yes" ]] && confgcc+=" --with-float=hard"
 
 	# Native Language Support
 	if use nls ; then
@@ -1071,9 +1069,10 @@ src_configure() {
 	# reasonably sane globals (hopefully)
 	confgcc+=" \
 		--with-system-zlib \
-		--disable-werror \
 		--enable-secureplt"
 
+# 		--disable-werror \
+
 	gcc-compiler-configure || die
 
 	if is_crosscompile ; then
@@ -1115,6 +1114,7 @@ src_configure() {
 			*)
 				confgcc+=" --enable-threads=posix" ;;
 		esac
+	in_iuse bootstrap && confgcc+=" --enable-bootstrap"
 	fi
 	# __cxa_atexit is "essential for fully standards-compliant handling of
 	# destructors", but apparently requires glibc.

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass~
similarity index 99%
copy from eclass/toolchain.eclass
copy to eclass/toolchain.eclass~
index 0740488..8e3c0a4 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass~
@@ -946,11 +946,12 @@ src_prepare() {
 	# Fixup libtool to correctly generate .la files with portage
 	cd "${S}"
 	eautoreconf
-	for subdirs in gcc ; do
+	for subdirs in gcc libcpp ; do
 		cd "${S}/${subdirs}/"
 		eautoreconf
 	done
 	cd "${S}"
+	autogen Makefile.def
 	elibtoolize --portage --shallow --no-uclibc
 
 	gnuconfig_update
@@ -1057,9 +1058,6 @@ src_configure() {
 	# users to enable that option, and pull in the additional library.  In 4.6,
 	# the dependency is no longer required.
 	confgcc+=" --enable-lto"
-	
-	[[ $(tc-is-softfloat) == "yes" ]] && confgcc+=" --with-float=soft"
-	[[ $(tc-is-hardfloat) == "yes" ]] && confgcc+=" --with-float=hard"
 
 	# Native Language Support
 	if use nls ; then
@@ -1071,9 +1069,10 @@ src_configure() {
 	# reasonably sane globals (hopefully)
 	confgcc+=" \
 		--with-system-zlib \
-		--disable-werror \
 		--enable-secureplt"
 
+# 		--disable-werror \
+
 	gcc-compiler-configure || die
 
 	if is_crosscompile ; then
@@ -1115,6 +1114,7 @@ src_configure() {
 			*)
 				confgcc+=" --enable-threads=posix" ;;
 		esac
+	in_iuse bootstrap && confgcc+=" --enable-bootstrap"
 	fi
 	# __cxa_atexit is "essential for fully standards-compliant handling of
 	# destructors", but apparently requires glibc.

diff --git a/sys-devel/gcc/gcc-4.8.0_alpha20120729.ebuild b/sys-devel/gcc/gcc-4.8.0_alpha20120909.ebuild
similarity index 96%
rename from sys-devel/gcc/gcc-4.8.0_alpha20120729.ebuild
rename to sys-devel/gcc/gcc-4.8.0_alpha20120909.ebuild
index bf2c159..1acd584 100644
--- a/sys-devel/gcc/gcc-4.8.0_alpha20120729.ebuild
+++ b/sys-devel/gcc/gcc-4.8.0_alpha20120909.ebuild
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.2.ebuild,v 1.9 2012/03/15 20:21:44 vapier Exp $
 EAPI=4
 
-#PATCH_VER="1.4"
+PATCH_VER="1.0"
 
 inherit toolchain
 


             reply	other threads:[~2012-09-29 23:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-29 23:26 Magnus Granberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-10-07 16:44 [gentoo-commits] proj/hardened-dev:testing commit in: sys-devel/gcc/, eclass/ Magnus Granberg
2012-08-01 18:37 Magnus Granberg
2012-04-07 19:11 Magnus Granberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1348961099.7f7ba617058812ae3207b83028b604e16235940d.zorry@gentoo \
    --to=zorry@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox