summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/unzip/unzip/avoid-strip.patch
blob: 0ef6363e4f67910a137bcf857ccb6f2b85171c20 (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
37
38
39
40
41
42
43
44
45
46
47
48
unix/Makefile: remove hard coded strip commands

Remove the hard coded strip commands, both LF2 (used in linking) and
STRIP used alone.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>

diff -ur unzip60.orig/unix/configure unzip60/unix/configure
--- unzip60.orig/unix/configure	2009-04-16 14:25:12.000000000 -0500
+++ unzip60/unix/configure	2011-06-21 11:23:36.822849960 -0500
@@ -17,7 +17,7 @@
 IZ_BZIP2=${3}
 CFLAGS="${CFLAGS} -I. -DUNIX"
 LFLAGS1=""
-LFLAGS2="-s"
+LFLAGS2=""
 LN="ln -s"
 
 CFLAGS_OPT=''
diff -ur unzip60.orig/unix/Makefile unzip60/unix/Makefile
--- unzip60.orig/unix/Makefile	2009-01-18 16:41:18.000000000 -0600
+++ unzip60/unix/Makefile	2011-06-21 11:12:22.900003388 -0500
@@ -52,7 +52,7 @@
 CF = $(CFLAGS) $(CF_NOOPT)
 LFLAGS1 =
 LF = -o unzip$E $(LFLAGS1)
-LF2 = -s
+LF2 = 
 
 # UnZipSFX flags
 SL = -o unzipsfx$E $(LFLAGS1)
@@ -70,7 +70,7 @@
 CHMOD = chmod
 BINPERMS = 755
 MANPERMS = 644
-STRIP = strip
+STRIP =
 E =
 O = .o
 M = unix
@@ -776,7 +776,6 @@
 #
 gcc:		unix_make
 	$(MAKE) unzips CC=gcc LD=gcc CFLAGS="-O3" LF2=""
-	$(STRIP) $(UNZIPS)
 
 # Heurikon HK68 (68010), UniPlus+ System V 5.0, Green Hills C-68000
 hk68:		unix_make