Changeset 8516


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

optimization

Location:
src/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/pptp-client/Makefile

    r1 r8516  
    1414#CC     = gcc 
    1515RM      = rm -f 
    16 OPTIMIZE= $(COPTS) 
     16OPTIMIZE= $(COPTS) -ffunction-sections -fdata-sections -Wl,--gc-sections 
    1717 
    1818#OPTIMIZE= -O0 
     
    2020INCLUDE = 
    2121CFLAGS  = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE) 
    22 LIBS    = -lutil 
     22LIBS    = -lutil -ffunction-sections -fdata-sections -Wl,--gc-sections 
    2323LDFLAGS = 
    2424 
  • src/router/pptpd/Makefile

    r7669 r8516  
    105105CC = $(ARCH)-linux-uclibc-gcc 
    106106CCDEPMODE = depmode=none 
    107 CFLAGS = $(COPTS) -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' 
     107CFLAGS = $(COPTS) -ffunction-sections -fdata-sections -Wl,--gc-sections -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' 
    108108CPP = $(ARCH)-linux-uclibc-gcc -E 
    109109CPPFLAGS =  
     
    122122INSTALL_SCRIPT = ${INSTALL} 
    123123INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 
    124 LDFLAGS =  
     124LDFLAGS =  -ffunction-sections -fdata-sections -Wl,--gc-sections 
    125125LIBOBJS =  
    126126LIBS =  
Note: See TracChangeset for help on using the changeset viewer.