Changeset 8517


Ignore:
Timestamp:
12/05/07 17:45:38 (5 years ago)
Author:
BrainSlayer
Message:

optimization

Location:
src/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/radauth/Makefile

    r5709 r8517  
    88 
    99ifeq ($(CONFIG_MSSID),y) 
     10ifeq ($(CONFIG_BUFFALO),y) 
     11CFLAGS=$(COPTS) -fomit-frame-pointer -I. -I../shared -I../services -I../../include.bcm -DNEW_RSSI 
     12else 
    1013CFLAGS=$(COPTS) -fomit-frame-pointer -I. -I../shared -I../services -I../../include.v24 -DNEW_RSSI 
     14endif 
    1115else 
    1216CFLAGS=$(COPTS) -fomit-frame-pointer -Wall -I. -I../shared -I../services -I../../include.v23 
     
    1620  CFLAGS += -DHAVE_MADWIFI -I../madwifi/ -include ../madwifi/include/compat.h -DHEADERS_KERNEL 
    1721endif 
    18 CFLAGS += -DNEED_PRINTF -fpic 
    19  
     22CFLAGS += -DNEED_PRINTF -fpic -ffunction-sections -fdata-sections -Wl,--gc-sections 
     23LDFLAGS += -ffunction-sections -fdata-sections -Wl,--gc-sections 
    2024all: wrt-radauth radius-client macupd 
    2125 
  • src/router/rflow/Makefile

    r7697 r8517  
    88#CC=mipsel-linux-uclibc-gcc -pipe 
    99#CC= gcc -pipe 
    10 LDFLAGS+=-s 
     10LDFLAGS+=-s -ffunction-sections -fdata-sections -Wl,--gc-sections 
    1111LIBS+= -lpthread 
    12 CFLAGS+= $(COPTS) -I$(LINUXDIR)  -DHAVE_CONFIG_H -W -Wall  
     12CFLAGS+= $(COPTS) -I$(LINUXDIR)  -DHAVE_CONFIG_H -W -Wall -ffunction-sections -fdata-sections -Wl,--gc-sections  
    1313CPPFLAGS+=-DIPCAD_VERSION=\"3.6.2\" 
    1414CPPFLAGS+=-DCONFIG_FILE=\"${sysconfdir}/ipcad.conf\" 
Note: See TracChangeset for help on using the changeset viewer.