Changeset 41051


Ignore:
Timestamp:
2014-06-07T21:14:17+02:00 (4 years ago)
Author:
nbd
Message:

uqmi: use -ffunction-sections and --gc-sections, reduces binary size from 57k to 29k

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/utils/uqmi/Makefile

    r40868 r41051  
    3535 
    3636TARGET_CFLAGS += \ 
    37         -I$(STAGING_DIR)/usr/include 
     37        -I$(STAGING_DIR)/usr/include -ffunction-sections -fdata-sections 
     38 
     39TARGET_LDFLAGS += -Wl,--gc-sections 
    3840 
    3941CMAKE_OPTIONS += \ 
Note: See TracChangeset for help on using the changeset viewer.