uqmi:fix build failure (#10831)

ERROR: package/network/utils/uqmi failed to build.
This commit is contained in:
骷髅头 2023-01-29 19:35:47 +08:00 committed by GitHub
parent 7d2c1575be
commit e20fa327ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,11 +32,7 @@ define Package/uqmi/description
endef endef
TARGET_CFLAGS += \ TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \ -I$(STAGING_DIR)/usr/include -ffunction-sections -fdata-sections
-ffunction-sections \
-fdata-sections \
-Wno-error=dangling-pointer \
-Wno-error=maybe-uninitialized
TARGET_LDFLAGS += -Wl,--gc-sections TARGET_LDFLAGS += -Wl,--gc-sections