dev-libs/libpfm: drop -Werror, bug #664294
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 4 Dec 2018 21:43:42 +0000 (21:43 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 4 Dec 2018 21:44:10 +0000 (21:44 +0000)
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 <slyfox@gentoo.org>
dev-libs/libpfm/libpfm-4.4.0.ebuild
dev-libs/libpfm/libpfm-4.6.0.ebuild
dev-libs/libpfm/libpfm-4.8.0.ebuild

index e23abfa0d6217007690d35685fcd71d9d85e5128..608bb97fd700ab26b48cf94cf34e7feebeab1fc3 100644 (file)
@@ -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() {
index 08b3bfaa5671acea8982cc36d6896e166fc17d90..5224fe87b8ed7b821fb9f4cd4de59349e1272b1a 100644 (file)
@@ -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() {
index 7993693fc1a1e5a84ef6cff64aa04240d62c6bbd..3609c441e6dabf9e0d036749280f065990d79e71 100644 (file)
@@ -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() {