summary refs log tree commit diff
path: root/pkgs/tools/archivers/unzip/dont-hardcode-cc.patch
blob: 15dbbfe4c533b8f6090fc167a2cd5982c9284338 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -42,9 +42,9 @@
 # such as -DDOSWILD).
 
 # UnZip flags
-CC = cc#	try using "gcc" target rather than changing this (CC and LD
+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
+AS ?= as
 LOC = $(D_USE_BZ2) $(LOCAL_UNZIP)
 AF = $(LOC)
 CFLAGS = -O