Revert "glib2: fix host build"

There isn't prime time for it. Currently, it can not be built.
It fails with the following error:  ERROR: Compiler gcc can not compile programs.
More details in https://github.com/openwrt/packages/pull/11887 and
https://github.com/openwrt/packages/issues/11900

This reverts commit b62ed68007.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer 2020-04-20 11:58:43 +02:00
parent 99e4842e33
commit ad798995ee
No known key found for this signature in database
GPG Key ID: B950216FE4329F4C
1 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=glib2
PKG_VERSION:=2.64.2
PKG_RELEASE:=2
PKG_RELEASE:=1
PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNOME/glib/2.64
@ -42,7 +42,6 @@ define Package/glib2/description
The GLib library of C routines
endef
HOST_LDFLAGS += -liconv
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_LDFLAGS += -Wl,--gc-sections