ipset: size optimizations
authorDeng Qingfang <dengqf6@mail2.sysu.edu.cn>
Sat, 23 Feb 2019 16:46:54 +0000 (00:46 +0800)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 17 Mar 2019 21:17:48 +0000 (22:17 +0100)
commit89c8232f78f4acd982f66bd285f1448bbbad1719
treece14d9e2d0e9a824333d2851b8d20b7f71976cf5
parentd4540354303949c93b20ea0148afd90ce5e40ea6
ipset: size optimizations

ipset utility was linked statically to libipset. Disable static library for dynamic linking to save space.
Add -Wl,--gc-sections,--as-needed for further reduction

MIPS ipk size:
ipset: 29KiB -> 2KiB
libipset: 39KiB -> 38KiB

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
package/network/utils/ipset/Makefile