diff --git a/package/network/utils/uqmi/Makefile b/package/network/utils/uqmi/Makefile index 02265d400..c4ca98012 100644 --- a/package/network/utils/uqmi/Makefile +++ b/package/network/utils/uqmi/Makefile @@ -32,11 +32,7 @@ define Package/uqmi/description endef TARGET_CFLAGS += \ - -I$(STAGING_DIR)/usr/include \ - -ffunction-sections \ - -fdata-sections \ - -Wno-error=dangling-pointer \ - -Wno-error=maybe-uninitialized + -I$(STAGING_DIR)/usr/include -ffunction-sections -fdata-sections TARGET_LDFLAGS += -Wl,--gc-sections