summaryrefslogtreecommitdiffstats
path: root/core/combo
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2011-03-16 16:52:43 -0700
committerIliyan Malchev <malchev@google.com>2011-03-17 10:09:59 -0700
commit0cafe839e079f71e4799868d03a39ec82aa277a7 (patch)
tree71bdb979243f8cc0eec5d4ebdacbf5b510602e94 /core/combo
parent28149769b35227080090e48c9da5d07de9a4ee83 (diff)
downloadbuild-0cafe839e079f71e4799868d03a39ec82aa277a7.zip
build-0cafe839e079f71e4799868d03a39ec82aa277a7.tar.gz
build-0cafe839e079f71e4799868d03a39ec82aa277a7.tar.bz2
build: pass --strip-all, not --strip-debug to strip
Option --strip-all will remove the static symbol section in addition to debug symbols. We do not need the static symbol table in libraries installed on the target. Change-Id: I7a52d22f5b45aa727f31bfd9af796b289528caef Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'core/combo')
-rw-r--r--core/combo/TARGET_linux-arm.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk
index 46e0f75..e36c616 100644
--- a/core/combo/TARGET_linux-arm.mk
+++ b/core/combo/TARGET_linux-arm.mk
@@ -53,7 +53,7 @@ TARGET_AR := $(TARGET_TOOLS_PREFIX)ar$(HOST_EXECUTABLE_SUFFIX)
TARGET_OBJCOPY := $(TARGET_TOOLS_PREFIX)objcopy$(HOST_EXECUTABLE_SUFFIX)
TARGET_LD := $(TARGET_TOOLS_PREFIX)ld$(HOST_EXECUTABLE_SUFFIX)
TARGET_STRIP := $(TARGET_TOOLS_PREFIX)strip$(HOST_EXECUTABLE_SUFFIX)
-TARGET_STRIP_COMMAND = $(TARGET_STRIP) --strip-debug $< -o $@
+TARGET_STRIP_COMMAND = $(TARGET_STRIP) --strip-all $< -o $@
TARGET_NO_UNDEFINED_LDFLAGS := -Wl,--no-undefined