From 95c0d5cd1d3761946eb04978f64df0ef75322380 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 6 Aug 2020 16:48:17 +0000 Subject: [PATCH] efivar: Fix build with GCC 10 Signed-off-by: Michael Tremer --- lfs/efivar | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lfs/efivar b/lfs/efivar index a2e86a255a..4453f99f29 100644 --- a/lfs/efivar +++ b/lfs/efivar @@ -74,6 +74,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/efivar-37-compile-fixes-1.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/efivar-37-compile-fixes-2.patch + + # -Werror, not even once + cd $(DIR_APP) && sed -e "s/-Werror//g" -i gcc.specs + cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKETUNING) cd $(DIR_APP) && make install -- 2.39.5