Browse Source

Merge pull request #11887 from neheb/glbb

glib2: fix host build
lilik-openwrt-22.03
tripolar 5 years ago
committed by GitHub
parent
commit
b55d2359bc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libs/glib2/Makefile

+ 2
- 1
libs/glib2/Makefile View File

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


Loading…
Cancel
Save