Changeset 39119


Ignore:
Timestamp:
2013-12-17T16:59:29+01:00 (4 years ago)
Author:
nbd
Message:

iproute2: reduce .ipk package size from ~100k down to ~60k

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

Location:
trunk/package/network/utils/iproute2
Files:
1 added
1 edited

Legend:

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

    r38313 r39119  
    7070endif 
    7171 
     72TARGET_CFLAGS += -ffunction-sections -fdata-sections 
     73 
    7274MAKE_FLAGS += \ 
    7375        EXTRA_CCOPTS="$(TARGET_CFLAGS) -I../include -I$(STAGING_DIR)/usr/include/libnl-tiny" \ 
    7476        KERNEL_INCLUDE="$(LINUX_DIR)/include" \ 
    75         FPIC="$(FPIC)" 
     77        SHARED_LIBS="" \ 
     78        LDFLAGS="-Wl,--gc-sections" \ 
     79        IP_CONFIG_TINY=y \ 
     80        FPIC="" 
    7681 
    7782define Build/Compile 
Note: See TracChangeset for help on using the changeset viewer.