Changeset 37066


Ignore:
Timestamp:
2013-06-28T13:26:55+02:00 (5 years ago)
Author:
nbd
Message:

e2fsprogs: use -ffunction-sections, -fdata-sections, --gc-sections

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/utils/e2fsprogs/Makefile

    r37065 r37066  
    8282endef 
    8383 
    84 TARGET_CFLAGS += $(FPIC) 
     84TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections 
     85 
    8586 
    8687CONFIGURE_ARGS += \ 
     
    106107                subst 
    107108        $(MAKE) -C $(PKG_BUILD_DIR) \ 
     109                LDFLAGS=-Wl,--gc-sections \ 
    108110                BUILDCC="$(HOSTCC)" \ 
    109111                DESTDIR="$(PKG_INSTALL_DIR)" \ 
Note: See TracChangeset for help on using the changeset viewer.