nixpkgs/pkgs/tools/archivers/unzip/cross-cc.patch
2017-06-22 17:53:54 -04:00

13 lines
311 B
Diff

--- 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