summaryrefslogtreecommitdiff
path: root/dev-libs/libfetch/files/libfetch-2.33-remove-hardcoded-compiler.patch
blob: 91f5c467cd1008ab23985238552c19024e92c523 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/Makefile    2015-09-16 22:15:02.000000000 -0500
+++ b/Makefile        2016-01-24 01:54:11.547524137 -0600
@@ -31,10 +31,10 @@
 CFLAGS += -UDEBUG
 endif
 
-CC = gcc
-LD = gcc
-AR = ar
-RANLIB = ranlib
+CC ?= gcc
+LD ?= gcc
+AR ?= ar
+RANLIB ?= ranlib
 INSTALL = install -c -D
 
 OBJS= fetch.o common.o ftp.o http.o file.o