glib: Fix compiling with GCC 9

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Michael Tremer
2020-01-04 16:49:15 +00:00
committed by Arne Fitzenreiter
parent d04fb4ee34
commit 321c211528
2 changed files with 72 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
$(UPDATE_AUTOMAKE)
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glib-2.54.3-compile-fixes-1.patch
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc \
--with-pcre=system
cd $(DIR_APP) && make $(MAKETUNING)