diff options
Diffstat (limited to 'meta/recipes-extended/unzip/unzip/avoid-strip.patch')
-rw-r--r-- | meta/recipes-extended/unzip/unzip/avoid-strip.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta/recipes-extended/unzip/unzip/avoid-strip.patch b/meta/recipes-extended/unzip/unzip/avoid-strip.patch new file mode 100644 index 0000000000..8f30e42674 --- /dev/null +++ b/meta/recipes-extended/unzip/unzip/avoid-strip.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | unix/Makefile: remove hard coded strip commands | ||
4 | |||
5 | Remove the hard coded strip commands, both LF2 (used in linking) and | ||
6 | STRIP used alone. | ||
7 | |||
8 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
9 | |||
10 | diff -ur unzip60.orig/unix/configure unzip60/unix/configure | ||
11 | --- unzip60.orig/unix/configure 2009-04-16 14:25:12.000000000 -0500 | ||
12 | +++ unzip60/unix/configure 2011-06-21 11:23:36.822849960 -0500 | ||
13 | @@ -17,7 +17,7 @@ | ||
14 | IZ_BZIP2=${3} | ||
15 | CFLAGS="${CFLAGS} -I. -DUNIX" | ||
16 | LFLAGS1="" | ||
17 | -LFLAGS2="-s" | ||
18 | +LFLAGS2="" | ||
19 | LN="ln -s" | ||
20 | |||
21 | CFLAGS_OPT='' | ||
22 | diff -ur unzip60.orig/unix/Makefile unzip60/unix/Makefile | ||
23 | --- unzip60.orig/unix/Makefile 2009-01-18 16:41:18.000000000 -0600 | ||
24 | +++ unzip60/unix/Makefile 2011-06-21 11:12:22.900003388 -0500 | ||
25 | @@ -52,7 +52,7 @@ | ||
26 | CF = $(CFLAGS) $(CF_NOOPT) | ||
27 | LFLAGS1 = | ||
28 | LF = -o unzip$E $(LFLAGS1) | ||
29 | -LF2 = -s | ||
30 | +LF2 = | ||
31 | |||
32 | # UnZipSFX flags | ||
33 | SL = -o unzipsfx$E $(LFLAGS1) | ||
34 | @@ -70,7 +70,7 @@ | ||
35 | CHMOD = chmod | ||
36 | BINPERMS = 755 | ||
37 | MANPERMS = 644 | ||
38 | -STRIP = strip | ||
39 | +STRIP = | ||
40 | E = | ||
41 | O = .o | ||
42 | M = unix | ||
43 | @@ -776,7 +776,6 @@ | ||
44 | # | ||
45 | gcc: unix_make | ||
46 | $(MAKE) unzips CC=gcc LD=gcc CFLAGS="-O3" LF2="" | ||
47 | - $(STRIP) $(UNZIPS) | ||
48 | |||
49 | # Heurikon HK68 (68010), UniPlus+ System V 5.0, Green Hills C-68000 | ||
50 | hk68: unix_make | ||