aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2020-02-12 20:23:01 +0800
committerHans Dedecker <dedeckeh@gmail.com>2020-02-13 21:35:13 +0100
commit5715b21f8066f85aa06ff131868e11a27cca5559 (patch)
treefe32703361132693d8f697773250c455e4fbcc01 /package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch
parent73f3ad1df2e1d33d3d5aae4fd2093aa80406cc4a (diff)
downloadupstream-5715b21f8066f85aa06ff131868e11a27cca5559.tar.gz
upstream-5715b21f8066f85aa06ff131868e11a27cca5559.tar.bz2
upstream-5715b21f8066f85aa06ff131868e11a27cca5559.zip
iproute2: update to 5.5.0, enable LTO
Update iproute2 to 5.5.0 Enable LTO to save several KB of size Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch')
-rw-r--r--package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch b/package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch
index 0385bd737b..545b3c2c06 100644
--- a/package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch
+++ b/package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch
@@ -9,7 +9,7 @@
endif
TCLIB := tc_core.o
-@@ -141,7 +141,7 @@ MODDESTDIR := $(DESTDIR)$(LIBDIR)/tc
+@@ -140,7 +140,7 @@ MODDESTDIR := $(DESTDIR)$(LIBDIR)/tc
all: tc $(TCSO)
tc: $(TCOBJ) $(LIBNETLINK) libtc.a
@@ -18,15 +18,15 @@
libtc.a: $(TCLIB)
$(QUIET_AR)$(AR) rcs $@ $^
-@@ -163,6 +163,7 @@ install: all
+@@ -162,6 +162,7 @@ install: all
clean:
- rm -f $(TCOBJ) $(TCLIB) libtc.a tc *.so emp_ematch.yacc.h; \
- rm -f emp_ematch.yacc.*
+ rm -f $(TCOBJ) $(TCLIB) libtc.a tc *.so emp_ematch.tab.h; \
+ rm -f emp_ematch.tab.*
+ rm -f dynsyms.list
q_atm.so: q_atm.c
$(QUIET_CC)$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -fpic -o q_atm.so q_atm.c -latm
-@@ -202,4 +203,15 @@ static-syms.h: $(wildcard *.c)
+@@ -201,4 +202,15 @@ static-syms.h: $(wildcard *.c)
sed -n '/'$$s'[^ ]* =/{s:.* \([^ ]*'$$s'[^ ]*\) .*:extern char \1[] __attribute__((weak)); if (!strcmp(sym, "\1")) return \1;:;p}' $$files ; \
done > $@