summaryrefslogtreecommitdiffstats
path: root/patches/unzip/update_shared
diff options
context:
space:
mode:
Diffstat (limited to 'patches/unzip/update_shared')
-rwxr-xr-xpatches/unzip/update_shared9
1 files changed, 9 insertions, 0 deletions
diff --git a/patches/unzip/update_shared b/patches/unzip/update_shared
new file mode 100755
index 0000000..1dd8b2a
--- /dev/null
+++ b/patches/unzip/update_shared
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+ sed -i \
+ -e "s:-O3:\${CFLAGS}:" \
+ -e "s:CC=gcc :CC=gcc :" \
+ -e "s:LD=gcc :LD=\"gcc \${LDFLAGS} -lrcc\" :" \
+ -e "s:-O :\${CFLAGS} :" \
+ -e "s:LF2 = -s:LF2 = :" \
+ unix/Makefile \