glib2: Disable Werror
authorRosen Penev <redacted>
Sun, 3 Nov 2019 04:54:54 +0000 (21:54 -0700)
committerRosen Penev <redacted>
Sun, 3 Nov 2019 04:54:54 +0000 (21:54 -0700)
On GCC9, it throws a Wformat-nonliteral error. Unfortunately, there's no
easy was to fix it as it is fortify-headers where the warning ultimately
comes from.

Signed-off-by: Rosen Penev <redacted>
libs/glib2/Makefile

index 8205edaba168e18de74c939d390918754b17fcbb..73db458f12674e527b8e1c0c02c7fa9c50b43a63 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=glib2
 PKG_VERSION:=2.58.3
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz
 PKG_BUILD_DIR:=$(BUILD_DIR)/glib-$(PKG_VERSION)
@@ -46,8 +46,6 @@ define Package/glib2/description
   The GLib library of C routines
 endef
 
-TARGET_CFLAGS += -Wno-error=implicit-function-declaration
-
 HOST_CONFIGURE_ARGS += \
        --disable-libelf \
        --disable-selinux \
@@ -64,6 +62,7 @@ CONFIGURE_ARGS += \
        --disable-fam \
        --disable-gtk-doc-html \
        --disable-man \
+       --disable-compile-warnings \
        --with-libiconv=gnu \
        --with-pcre=internal
 
git clone https://git.99rst.org/PROJECT