Package: gnu-efi Version: 3.0i-3 In Ubuntu, we've applied the attached patch to achieve the following:
* Build with -fno-stack-protector. It fixes FTBFS. We thought you might be interested in doing the same.
--- gnu-efi-3.0i.orig/Make.defaults +++ gnu-efi-3.0i/Make.defaults @@ -35,7 +35,7 @@ OS = $(shell uname -s) INCDIR = -I$(SRCDIR) -I$(TOPDIR)/inc -I$(TOPDIR)/inc/$(ARCH) -I$(TOPDIR)/inc/protocol CPPFLAGS = -DCONFIG_$(ARCH) -CFLAGS = $(ARCH3264) -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants +CFLAGS = $(ARCH3264) -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector ASFLAGS = $(ARCH3264) LDFLAGS = -nostdlib INSTALL = install