ramips: fix package name of kmod-input-gpio-buttons
[openwrt.git] / tools / mklibs / patches / 008-gc_sections.patch
1 --- a/src/mklibs.py
2 +++ b/src/mklibs.py
3 @@ -583,7 +583,7 @@ while 1:
4 # compile in only used symbols
5 cmd = []
6 cmd.extend(gcc_options)
7 - cmd.append("-nostdlib -nostartfiles -shared -Wl,-soname=" + soname)
8 + cmd.append("-nostdlib -nostartfiles -shared -Wl,--gc-sections -Wl,-soname=" + soname)
9 cmd.extend(["-u%s" % a.linker_name() for a in symbols])
10 cmd.extend(["-o", dest_path + "/" + so_file_name + "-so"])
11 cmd.extend(extra_pre_obj)
This page took 0.042932 seconds and 5 git commands to generate.