summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-boot/gnu-efi/gnu-efi-3.0.4.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-boot/gnu-efi/gnu-efi-3.0.4.ebuild b/sys-boot/gnu-efi/gnu-efi-3.0.4.ebuild
index 205eaf09a2f9..07de06269599 100644
--- a/sys-boot/gnu-efi/gnu-efi-3.0.4.ebuild
+++ b/sys-boot/gnu-efi/gnu-efi-3.0.4.ebuild
@@ -25,6 +25,11 @@ RDEPEND=""
QA_EXECSTACK="usr/*/lib*efi.a:* usr/*/crt*.o"
RESTRICT="strip"
+src_prepare() {
+ sed -i -e "s/-Werror//" Make.defaults || die
+ default
+}
+
efimake() {
local arch=
case ${CHOST} in