summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-08-19 21:54:38 -0400
committerMike Gilbert <floppym@gentoo.org>2016-08-19 21:55:06 -0400
commit6fa49c014cf7bfd7b793e404674f2c5be0fb9af4 (patch)
tree85595f7fdbf8517a056b7c6cbfb7a612c9fa6459 /sys-libs/efivar
parentapp-arch/zopfli: respect CC, CXX, CFLAGS, CXXFLAGS, and LDFLAGS (diff)
downloadgentoo-6fa49c014cf7bfd7b793e404674f2c5be0fb9af4.tar.gz
gentoo-6fa49c014cf7bfd7b793e404674f2c5be0fb9af4.tar.bz2
gentoo-6fa49c014cf7bfd7b793e404674f2c5be0fb9af4.zip
sys-libs/efivar: disable -Werror
Package-Manager: portage-2.3.0_p16
Diffstat (limited to 'sys-libs/efivar')
-rw-r--r--sys-libs/efivar/efivar-27.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-libs/efivar/efivar-27.ebuild b/sys-libs/efivar/efivar-27.ebuild
index cf030758c185..7db73e1e64c8 100644
--- a/sys-libs/efivar/efivar-27.ebuild
+++ b/sys-libs/efivar/efivar-27.ebuild
@@ -18,6 +18,11 @@ RDEPEND="dev-libs/popt"
DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-3.18"
+src_prepare() {
+ default
+ sed -i -e s/-Werror// gcc.specs || die
+}
+
src_configure() {
tc-export CC
tc-ld-disable-gold