From ac7d6a4778ae9b578dc661657afa41afcc830347 Mon Sep 17 00:00:00 2001 From: zhangguanzhang Date: Wed, 21 Sep 2022 13:10:23 +0800 Subject: [PATCH] umbim: fixes build with gcc 11 (#10163) Fixes: https://github.com/coolsnowwolf/lede/issues/10126 --- package/network/utils/umbim/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/umbim/Makefile b/package/network/utils/umbim/Makefile index 36763767f..d696c96c6 100644 --- a/package/network/utils/umbim/Makefile +++ b/package/network/utils/umbim/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=umbim -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(PROJECT_GIT)/project/umbim.git @@ -34,7 +34,7 @@ define Package/umbim/description endef TARGET_CFLAGS += \ - -I$(STAGING_DIR)/usr/include -ffunction-sections -fdata-sections + -I$(STAGING_DIR)/usr/include -ffunction-sections -fdata-sections -Wno-address-of-packed-member TARGET_LDFLAGS += -Wl,--gc-sections