diff options
author | 2019-09-25 03:26:23 -0400 | |
---|---|---|
committer | 2019-10-03 17:02:05 -0400 | |
commit | 610d14c7620422c7dc21e13808db1c3a8faf15e9 (patch) | |
tree | 09f2665d09d1e603cb43c421e36ca6bacced2e19 /sys-boot/gnu-efi/gnu-efi-3.0.9.ebuild | |
parent | games-fps/etqw-bin: Fix SRC_URI to deal with unfetchable file (diff) | |
download | gentoo-610d14c7620422c7dc21e13808db1c3a8faf15e9.tar.gz gentoo-610d14c7620422c7dc21e13808db1c3a8faf15e9.tar.bz2 gentoo-610d14c7620422c7dc21e13808db1c3a8faf15e9.zip |
sys-boot/gnu-efi: Fix building with clang-9
Fix the build to emit valid CFLAGS for clang.
Closes: https://bugs.gentoo.org/695612
Closes: https://github.com/gentoo/gentoo/pull/13033
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-boot/gnu-efi/gnu-efi-3.0.9.ebuild')
-rw-r--r-- | sys-boot/gnu-efi/gnu-efi-3.0.9.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-boot/gnu-efi/gnu-efi-3.0.9.ebuild b/sys-boot/gnu-efi/gnu-efi-3.0.9.ebuild index fa23e18d91de..57a9ed662e5b 100644 --- a/sys-boot/gnu-efi/gnu-efi-3.0.9.ebuild +++ b/sys-boot/gnu-efi/gnu-efi-3.0.9.ebuild @@ -24,9 +24,11 @@ IUSE="abi_x86_32 abi_x86_64 custom-cflags" QA_EXECSTACK="usr/*/lib*efi.a:* usr/*/crt*.o" RESTRICT="strip" +PATCHES=( "${FILESDIR}"/${PN}-3.0.9-fix-clang-build.patch ) + src_prepare() { - sed -i -e "s/-Werror//" Make.defaults || die default + sed -i -e "s/-Werror//" Make.defaults || die } efimake() { |