X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fnetwork%2Futils%2Fuqmi%2FMakefile;h=027fc0d1c2efb4a58cc9c37ae71f6fc8117a8c86;hb=871dd8ec7e7a5bcc6fb103d4beded98e6ab252b6;hp=18e0954ad256709ae5651b07ace45a873293a4ef;hpb=487f719203626235facae64d8499258a00de952d;p=openwrt%2F.git diff --git a/package/network/utils/uqmi/Makefile b/package/network/utils/uqmi/Makefile index 18e0954ad2..027fc0d1c2 100644 --- a/package/network/utils/uqmi/Makefile +++ b/package/network/utils/uqmi/Makefile @@ -34,7 +34,9 @@ define Package/uqmi/description endef TARGET_CFLAGS += \ - -I$(STAGING_DIR)/usr/include + -I$(STAGING_DIR)/usr/include -ffunction-sections -fdata-sections + +TARGET_LDFLAGS += -Wl,--gc-sections CMAKE_OPTIONS += \ -DDEBUG=1