summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/klibc/klibc-1.5.24/no_strip.patch
blob: f690d9883bfb2c6207e7bbb0e3b5e82249e1bef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Do not strip binaries too early. Strip is done before packaging.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>

--- a/scripts/Kbuild.klibc	2011-06-14 17:11:17.000000000 +0200
+++ b/scripts/Kbuild.klibc	2011-07-15 01:18:58.000000000 +0200
@@ -332,8 +332,7 @@
                        $(KLIBCLIBC)				\
 		       $(KLIBCLIBGCC)				\
 		       --end-group ;				\
-                      cp -f $@ $@.g ;				\
-                      $(KLIBCSTRIP) $(KLIBCSTRIPFLAGS) $@
+                       cp -f $@ $@.g
 
 
 $(static-y): $(kprog-objs) $(lib-target) $(KLIBCCRT0) $(KLIBCLIBC) FORCE
@@ -348,8 +347,7 @@
                        -R $(KLIBCLIBCSHARED)			\
 	               $(KLIBCLIBGCC)				\
 		       --end-group ;				\
-                      cp -f $@ $@.g ;				\
-                      $(KLIBCSTRIP) $(KLIBCSTRIPFLAGS) $@
+                       cp -f $@ $@.g
 
 
 $(shared-y): $(kprog-objs) $(lib-target) $(KLIBCCRTSHARED) \

--- a/usr/klibc/Kbuild	2011-07-15 01:46:32.000000000 +0200
+++ b/usr/klibc/Kbuild	2011-07-15 01:47:17.000000000 +0200
@@ -147,7 +147,6 @@
 
 quiet_cmd_sohash = GEN     $@
       cmd_sohash = cat $< > $@;                                           \
-                     $(KLIBCSTRIP) $(KLIBCSTRIPFLAGS) $@;                 \
 		     chmod a+x $@;					  \
                      rm -f $(obj)/klibc-???????????????????????????.so;   \
                      ln -f $@ $(obj)/klibc-$(SOLIBHASH).so