Skip to content

Commit 1f784f0

Browse files
zhangguanzhangdesmondc9
authored andcommitted
umbim: fixes build with gcc 11 (coolsnowwolf#10163)
Fixes: coolsnowwolf#10126
1 parent 617cfd4 commit 1f784f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package/network/utils/umbim/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=umbim
4-
PKG_RELEASE:=2
4+
PKG_RELEASE:=3
55

66
PKG_SOURCE_PROTO:=git
77
PKG_SOURCE_URL=$(PROJECT_GIT)/project/umbim.git
@@ -34,7 +34,7 @@ define Package/umbim/description
3434
endef
3535

3636
TARGET_CFLAGS += \
37-
-I$(STAGING_DIR)/usr/include -ffunction-sections -fdata-sections
37+
-I$(STAGING_DIR)/usr/include -ffunction-sections -fdata-sections -Wno-address-of-packed-member
3838

3939
TARGET_LDFLAGS += -Wl,--gc-sections
4040

0 commit comments

Comments
 (0)