glib2: Disable Werror

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 <rosenp@gmail.com>
(cherry-picked from abdec8939e)
This commit is contained in:
Rosen Penev 2019-11-02 21:54:54 -07:00
parent 1e43dc8f81
commit ef940752d2
No known key found for this signature in database
GPG key ID: 36D31CFA845F0E3B

View 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