aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2019-02-19 02:31:39 +0000
committerBen Hutchings <ben@decadent.org.uk>2019-02-19 02:31:39 +0000
commitf24c4d725f5b178d1027dca14203f57e8e78a34d (patch)
tree701f3def406e74f227cb4170cca504cb79946da7
parent4aff8c7ca9711056668ef038372a5a65133cf930 (diff)
downloadklibc-f24c4d725f5b178d1027dca14203f57e8e78a34d.tar.gz
[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@decadent.org.uk>
-rw-r--r--klcc/Kbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/klcc/Kbuild b/klcc/Kbuild
index e62c3f12015f28..eae753ff45f72d 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)' >> $@