From 5768cf0934bf2e8a73982aa959d718f62965047a Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Tue, 19 Sep 2017 09:53:24 +0200 Subject: cleanup: stripping may fail for some linker scripts Signed-off-by: Michael Olbrich --- rules/post/cleanup.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/post/cleanup.make b/rules/post/cleanup.make index 7e8c511..c06b920 100644 --- a/rules/post/cleanup.make +++ b/rules/post/cleanup.make @@ -27,7 +27,7 @@ ifdef PTXCONF_TOOLCHAIN_CONFIG_SYSROOT find "$(PTXCONF_SYSROOT_CROSS)/sysroot-$(call remove_quotes,$(PTXCONF_GNU_TARGET))/usr/lib" \ -type f -name "*.a" -print0 \ | xargs -0 -n1 $(PTXCONF_SYSROOT_CROSS)/bin/$(PTXCONF_GNU_TARGET)-objcopy \ - --preserve-dates --strip-debug --keep-file-symbols + --preserve-dates --strip-debug --keep-file-symbols || true endif # # compress debug sections and remove any absolute paths find "$(PTXCONF_SYSROOT_CROSS)" "$(PTXCONF_SYSROOT_CROSS)/lib/gcc" \ -- cgit v1.2.3