]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/efivar
ipfire-netboot: Fix build with GCC 10
[people/pmueller/ipfire-2.x.git] / lfs / efivar
index a2e86a255a48cf90a4552299bed83a454c6fcd70..4453f99f293989463ac92cd0e8ef57be3156a2c8 100644 (file)
@@ -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