From: Michael Tremer Date: Thu, 6 Aug 2020 16:48:17 +0000 (+0000) Subject: efivar: Fix build with GCC 10 X-Git-Tag: v2.25-core149~6^2~104 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=27240d5ffcd8f1411777ae5209d3476805073542 efivar: Fix build with GCC 10 Signed-off-by: Michael Tremer --- 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