diff options
Diffstat (limited to 'meta-oe/recipes-devtools/klibc/klibc-1.5.24/no_strip.patch')
-rw-r--r-- | meta-oe/recipes-devtools/klibc/klibc-1.5.24/no_strip.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/klibc/klibc-1.5.24/no_strip.patch b/meta-oe/recipes-devtools/klibc/klibc-1.5.24/no_strip.patch new file mode 100644 index 000000000..f690d9883 --- /dev/null +++ b/meta-oe/recipes-devtools/klibc/klibc-1.5.24/no_strip.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | Do not strip binaries too early. Strip is done before packaging. | ||
2 | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> | ||
3 | |||
4 | --- a/scripts/Kbuild.klibc 2011-06-14 17:11:17.000000000 +0200 | ||
5 | +++ b/scripts/Kbuild.klibc 2011-07-15 01:18:58.000000000 +0200 | ||
6 | @@ -332,8 +332,7 @@ | ||
7 | $(KLIBCLIBC) \ | ||
8 | $(KLIBCLIBGCC) \ | ||
9 | --end-group ; \ | ||
10 | - cp -f $@ $@.g ; \ | ||
11 | - $(KLIBCSTRIP) $(KLIBCSTRIPFLAGS) $@ | ||
12 | + cp -f $@ $@.g | ||
13 | |||
14 | |||
15 | $(static-y): $(kprog-objs) $(lib-target) $(KLIBCCRT0) $(KLIBCLIBC) FORCE | ||
16 | @@ -348,8 +347,7 @@ | ||
17 | -R $(KLIBCLIBCSHARED) \ | ||
18 | $(KLIBCLIBGCC) \ | ||
19 | --end-group ; \ | ||
20 | - cp -f $@ $@.g ; \ | ||
21 | - $(KLIBCSTRIP) $(KLIBCSTRIPFLAGS) $@ | ||
22 | + cp -f $@ $@.g | ||
23 | |||
24 | |||
25 | $(shared-y): $(kprog-objs) $(lib-target) $(KLIBCCRTSHARED) \ | ||
26 | |||
27 | --- a/usr/klibc/Kbuild 2011-07-15 01:46:32.000000000 +0200 | ||
28 | +++ b/usr/klibc/Kbuild 2011-07-15 01:47:17.000000000 +0200 | ||
29 | @@ -147,7 +147,6 @@ | ||
30 | |||
31 | quiet_cmd_sohash = GEN $@ | ||
32 | cmd_sohash = cat $< > $@; \ | ||
33 | - $(KLIBCSTRIP) $(KLIBCSTRIPFLAGS) $@; \ | ||
34 | chmod a+x $@; \ | ||
35 | rm -f $(obj)/klibc-???????????????????????????.so; \ | ||
36 | ln -f $@ $(obj)/klibc-$(SOLIBHASH).so | ||