commit:     ef75d16985c942c1856bcbdaf1c15d222fe1c1ee
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 17 10:23:33 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Feb 17 10:23:33 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef75d169

sys-libs/libstdc++-v3: filter out unsupported -fstack-check, bug #610064

gcc-3.3 does not support -fstack-check* flags.

Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/610064
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild | 5 ++++-
 sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r2.ebuild | 3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild 
b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild
index 65b417750fc..76f9525d87d 100644
--- a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild
+++ b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=0
@@ -107,6 +107,9 @@ do_filter_flags() {
        filter-flags -frecord-gcc-switches
        filter-flags '-fdiagnostics-color*'
 
+       # Bug #610064
+       filter-flags '-fstack-check*'
+
        # ...sure, why not?
        strip-unsupported-flags
 

diff --git a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r2.ebuild 
b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r2.ebuild
index 463c97dfdc0..b89d40642ec 100644
--- a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r2.ebuild
+++ b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r2.ebuild
@@ -122,6 +122,9 @@ do_filter_flags() {
        filter-flags -frecord-gcc-switches
        filter-flags '-fdiagnostics-color*'
 
+       # Bug #610064
+       filter-flags '-fstack-check*'
+
        # ...sure, why not?
        strip-unsupported-flags
 

Reply via email to