Author: nbd Date: 2014-06-07 21:14:17 +0200 (Sat, 07 Jun 2014) New Revision: 41051
Modified: trunk/package/network/utils/uqmi/Makefile Log: uqmi: use -ffunction-sections and --gc-sections, reduces binary size from 57k to 29k Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/package/network/utils/uqmi/Makefile =================================================================== --- trunk/package/network/utils/uqmi/Makefile 2014-06-07 17:36:02 UTC (rev 41050) +++ trunk/package/network/utils/uqmi/Makefile 2014-06-07 19:14:17 UTC (rev 41051) @@ -34,8 +34,10 @@ 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 _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
