Changeset 32059


Ignore:
Timestamp:
May 14, 2017, 9:28:12 PM (2 months ago)
Author:
brainslayer
Message:

optimize better

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/rules/dnscrypt.mk

    r32058 r32059  
    33        CFLAGS="$(COPTS) $(MIPS16_OPT)   -ffunction-sections -fdata-sections -Wl,--gc-sections" \
    44        CPPFLAGS="$(COPTS) $(MIPS16_OPT) -ffunction-sections -fdata-sections -Wl,--gc-sections" \
    5         LDFLAGS="$(COPTS) $(MIPS16_OPT) -fPIC -v -Wl,--verbose" \
     5        LDFLAGS="$(COPTS) $(MIPS16_OPT) -ffunction-sections -fdata-sections -Wl,--gc-sections -fPIC -v -Wl,--verbose" \
    66        make -C libsodium
    77       
     
    1818        CFLAGS="$(COPTS) $(MIPS16_OPT)  -ffunction-sections -fdata-sections -Wl,--gc-sections" \
    1919        CPPFLAGS="$(COPTS) $(MIPS16_OPT)  -ffunction-sections -fdata-sections -Wl,--gc-sections" \
    20         LDFLAGS="$(COPTS) $(MIPS16_OPT)   -fPIC -v -Wl,--verbose"
     20        LDFLAGS="$(COPTS) $(MIPS16_OPT) -ffunction-sections -fdata-sections -Wl,--gc-sections  -fPIC -v -Wl,--verbose"
    2121        make -C libsodium
    2222
     
    3030        cd dnscrypt && ./configure --host=$(ARCH)-linux --prefix=/usr \
    3131        CC="ccache $(CC)" $(DNSCRYPT_CONFIGURE_ARGS) \
    32         CFLAGS="-fPIC -DNEED_PRINTF $(COPTS) $(MIPS16_OPT) -I$(TOP)/libsodium/src/libsodium/include/ -I$(TOP)/gmp -I$(TOP)/zlib" \
    33         CPPFLAGS="$(COPTS) $(MIPS16_OPT) -I$(TOP)/libsodium/src/libsodium/include/" \
    34         LDFLAGS="-L$(TOP)/libsodium/src/libsodium/.libs $(LDFLAGS)"
     32        CFLAGS="-fPIC -DNEED_PRINTF $(COPTS) $(MIPS16_OPT) -I$(TOP)/libsodium/src/libsodium/include/ -I$(TOP)/gmp -I$(TOP)/zlib -ffunction-sections -fdata-sections -Wl,--gc-sections" \
     33        CPPFLAGS="$(COPTS) $(MIPS16_OPT) -I$(TOP)/libsodium/src/libsodium/include -ffunction-sections -fdata-sections -Wl,--gc-sections" \
     34        LDFLAGS="-L$(TOP)/libsodium/src/libsodium/.libs $(LDFLAGS) -ffunction-sections -fdata-sections -Wl,--gc-sections"
    3535
    3636dnscrypt: openssl libsodium
Note: See TracChangeset for help on using the changeset viewer.