summary refs log tree commit diff
path: root/pkgs/tools/archivers/unzip/cross-cc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/archivers/unzip/cross-cc.patch')
-rw-r--r--pkgs/tools/archivers/unzip/cross-cc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/unzip/cross-cc.patch b/pkgs/tools/archivers/unzip/cross-cc.patch
new file mode 100644
index 00000000000..3d38ffdef6e
--- /dev/null
+++ b/pkgs/tools/archivers/unzip/cross-cc.patch
@@ -0,0 +1,12 @@
+--- a/unix/Makefile
++++ b/unix/Makefile
+@@ -42,9 +42,7 @@
+ # such as -DDOSWILD).
+ 
+ # UnZip flags
+-CC = cc#	try using "gcc" target rather than changing this (CC and LD
+ LD = $(CC)#	must match, else "unresolved symbol:  ___main" is possible)
+-AS = as
+ LOC = $(D_USE_BZ2) $(LOCAL_UNZIP)
+ AF = $(LOC)
+ CFLAGS = -O