summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs')
-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