From 26a67103e93b055fe9b9eb4eb5db3f95018a1f0a Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 4 Dec 2018 21:43:42 +0000 Subject: [PATCH] dev-libs/libpfm: drop -Werror, bug #664294 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/664294 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich --- dev-libs/libpfm/libpfm-4.4.0.ebuild | 5 +++-- dev-libs/libpfm/libpfm-4.6.0.ebuild | 5 +++-- dev-libs/libpfm/libpfm-4.8.0.ebuild | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/dev-libs/libpfm/libpfm-4.4.0.ebuild b/dev-libs/libpfm/libpfm-4.4.0.ebuild index e23abfa0d621..608bb97fd700 100644 --- a/dev-libs/libpfm/libpfm-4.4.0.ebuild +++ b/dev-libs/libpfm/libpfm-4.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -25,7 +25,8 @@ src_prepare() { } src_compile() { - emake CC=$(tc-getCC) + # 'DBG=' unsets '-Werror' and other optional flags, bug #664294 + emake CC=$(tc-getCC) DBG= } src_install() { diff --git a/dev-libs/libpfm/libpfm-4.6.0.ebuild b/dev-libs/libpfm/libpfm-4.6.0.ebuild index 08b3bfaa5671..5224fe87b8ed 100644 --- a/dev-libs/libpfm/libpfm-4.6.0.ebuild +++ b/dev-libs/libpfm/libpfm-4.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -25,7 +25,8 @@ src_prepare() { } src_compile() { - emake CC=$(tc-getCC) + # 'DBG=' unsets '-Werror' and other optional flags, bug #664294 + emake CC=$(tc-getCC) DBG= } src_install() { diff --git a/dev-libs/libpfm/libpfm-4.8.0.ebuild b/dev-libs/libpfm/libpfm-4.8.0.ebuild index 7993693fc1a1..3609c441e6da 100644 --- a/dev-libs/libpfm/libpfm-4.8.0.ebuild +++ b/dev-libs/libpfm/libpfm-4.8.0.ebuild @@ -25,7 +25,8 @@ src_prepare() { } src_compile() { - emake CC=$(tc-getCC) + # 'DBG=' unsets '-Werror' and other optional flags, bug #664294 + emake CC=$(tc-getCC) DBG= } src_install() { -- 2.26.2