build: Work around gnu-efi build system issue

This commit is contained in:
mintsuki 2021-07-25 16:23:36 +02:00
parent f2fcc38af7
commit e9760d2e33
1 changed files with 3 additions and 0 deletions

View File

@ -229,6 +229,9 @@ endif
$(BUILDDIR)/gnu-efi:
cp -r ../gnu-efi $(BUILDDIR)/
# gnu-efi's build system is broken and fails to actually detect clang.
# This is a workaround.
sed -i 's/-maccumulate-outgoing-args//g' $(BUILDDIR)/gnu-efi/Make.defaults
ifeq ($(TARGET), uefi)