sys-libs/libstdc++-v3: Filter '-fdiagnostics-color' from CFLAGS

Package-Manager: Portage-2.3.8, Repoman-2.3.3
This commit is contained in:
David Seifert
2017-09-02 09:54:11 +02:00
parent ef49ecc353
commit 01e9edb299

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils flag-o-matic libtool multilib
@@ -101,6 +101,7 @@ do_filter_flags() {
filter-flags '-W*'
filter-flags -frecord-gcc-switches
filter-flags '-fdiagnostics-color*'
# ...sure, why not?
strip-unsupported-flags
@@ -110,7 +111,7 @@ do_filter_flags() {
PATCH_VER="1.9"
DESCRIPTION="Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++"
DESCRIPTION="Compatibility package for binaries linked against a pre gcc 3.4 libstdc++"
HOMEPAGE="https://gcc.gnu.org/libstdc++/"
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-${PV}.tar.bz2
mirror://gentoo/gcc-${PV}-patches-${PATCH_VER}.tar.bz2"