commit:     ba4d9e822666d49d04e7302d553ad4e6dce5158d
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 30 23:00:20 2018 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Nov 30 23:00:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba4d9e82

sys-devel/binutils: Strip -Wall -Wreturn-type in tests, bug 637066

Closes: https://bugs.gentoo.org/637066
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-devel/binutils/binutils-2.31.1-r1.ebuild | 4 ++++
 sys-devel/binutils/binutils-9999.ebuild      | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/sys-devel/binutils/binutils-2.31.1-r1.ebuild 
b/sys-devel/binutils/binutils-2.31.1-r1.ebuild
index 180506d1f3e..4cb85dd6a7e 100644
--- a/sys-devel/binutils/binutils-2.31.1-r1.ebuild
+++ b/sys-devel/binutils/binutils-2.31.1-r1.ebuild
@@ -275,6 +275,10 @@ src_compile() {
 
 src_test() {
        cd "${MY_BUILDDIR}"
+
+       # bug 637066
+       filter-flags -Wall -Wreturn-type
+
        emake -k check
 }
 

diff --git a/sys-devel/binutils/binutils-9999.ebuild 
b/sys-devel/binutils/binutils-9999.ebuild
index 52df1648f4f..5e72d97d140 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -275,6 +275,10 @@ src_compile() {
 
 src_test() {
        cd "${MY_BUILDDIR}"
+
+       # bug 637066
+       filter-flags -Wall -Wreturn-type
+
        emake -k check
 }
 

Reply via email to