Changeset 25827


Ignore:
Timestamp:
2011-03-02T13:47:57+01:00 (7 years ago)
Author:
nbd
Message:

dnsmasq: use -ffunction-sections, -fdata-sections and --gc-sections, saves 8k uncompressed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/dnsmasq/Makefile

    r25576 r25827  
    3434endef 
    3535 
     36TARGET_CFLAGS += -ffunction-sections -fdata-sections 
     37 
    3638define Build/Compile 
    3739        $(MAKE) -C $(PKG_BUILD_DIR) \ 
     
    4042                BINDIR="/usr/sbin" MANDIR="/usr/man" \ 
    4143                AWK="awk" \ 
     44                LDFLAGS="-Wl,--gc-sections" \ 
    4245                all 
    4346endef 
Note: See TracChangeset for help on using the changeset viewer.