[klibc] [klibc:master] klcc: Enable stripping even if CONFIG_DEBUG_INFO is enabled

klibc-bot for Ben Hutchings ben at decadent.org.uk
Mon Feb 18 19:00:15 PST 2019


Commit-ID:  f24c4d725f5b178d1027dca14203f57e8e78a34d
Gitweb:     http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=f24c4d725f5b178d1027dca14203f57e8e78a34d
Author:     Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Tue, 19 Feb 2019 02:31:39 +0000
Committer:  Ben Hutchings <ben at decadent.org.uk>
CommitDate: Tue, 19 Feb 2019 02:31:39 +0000

[klibc] klcc: Enable stripping even if CONFIG_DEBUG_INFO is enabled

klcc should strip its output if the -s option is used, regardless of
whether klibc is stripped.  Use the standard $(STRIP) instead of
$(KLIBCSTRIP) as the strip command.

Signed-off-by: Ben Hutchings <ben at decadent.org.uk>

---
 klcc/Kbuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/klcc/Kbuild b/klcc/Kbuild
index e62c3f12..eae753ff 100644
--- a/klcc/Kbuild
+++ b/klcc/Kbuild
@@ -18,7 +18,7 @@ $(obj)/$(KLIBCCROSS)klibc.config: $(src)/Kbuild \
 	$(Q)echo 'REQFLAGS=$(filter-out -I%,$(KLIBCDEFS) $(KLIBCREQFLAGS) $(KLIBCARCHREQFLAGS) $(KLIBCCPPFLAGS))' >> $@
 	$(Q)echo 'OPTFLAGS=$(KLIBCOPTFLAGS)' >> $@
 	$(Q)echo 'LDFLAGS=$(KLIBCLDFLAGS)' >> $@
-	$(Q)echo 'STRIP=$(KLIBCSTRIP)' >> $@
+	$(Q)echo 'STRIP=$(STRIP)' >> $@
 	$(Q)echo 'STRIPFLAGS=$(KLIBCSTRIPFLAGS)' >> $@
 	$(Q)echo 'EMAIN=$(KLIBCEMAIN)' >> $@
 	$(Q)echo 'BITSIZE=$(KLIBCBITSIZE)' >> $@


More information about the klibc mailing list