diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-03 18:49:40 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-03 18:49:40 +0000 |
commit | f8194a24c53f59594441830b692fae68e354076c (patch) | |
tree | 1d58839986f37a16669968635eb2a2eb3d96e18c /Rules.mak | |
parent | 167aadc7ef8b163509c57628a3eb2b25e6f0b4ad (diff) |
Add --gc-sections, saves 2k on libc.so
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -358,6 +358,7 @@ endif #CFLAGS += $(call check_gcc,-std=c99,) LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc +LDFLAGS_NOSTRIP+=$(call check_ld,--gc-sections,) ifeq ($(UCLIBC_BUILD_RELRO),y) LDFLAGS_NOSTRIP+=-z relro |