summaryrefslogtreecommitdiff
path: root/dev-libs/libfetch/files/libfetch-2.33-remove-hardcoded-compiler.patch
diff options
context:
space:
mode:
authorAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-01-24 01:57:41 -0600
committerAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-01-24 01:57:41 -0600
commita7614714fbd6e7fc9b87636d0ec02dc84815e12c (patch)
treebc2353949874046e5cb1fbd895171501341f0eeb /dev-libs/libfetch/files/libfetch-2.33-remove-hardcoded-compiler.patch
parent83bdea22a2e930653390df12747a10ba8d2c8a9a (diff)
downloadpackages-a7614714fbd6e7fc9b87636d0ec02dc84815e12c.tar.gz
packages-a7614714fbd6e7fc9b87636d0ec02dc84815e12c.tar.bz2
packages-a7614714fbd6e7fc9b87636d0ec02dc84815e12c.tar.xz
packages-a7614714fbd6e7fc9b87636d0ec02dc84815e12c.zip
dev-libs/libfetch: fix retarded build issue.
Diffstat (limited to 'dev-libs/libfetch/files/libfetch-2.33-remove-hardcoded-compiler.patch')
-rw-r--r--dev-libs/libfetch/files/libfetch-2.33-remove-hardcoded-compiler.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/libfetch/files/libfetch-2.33-remove-hardcoded-compiler.patch b/dev-libs/libfetch/files/libfetch-2.33-remove-hardcoded-compiler.patch
new file mode 100644
index 000000000..91f5c467c
--- /dev/null
+++ b/dev-libs/libfetch/files/libfetch-2.33-remove-hardcoded-compiler.patch
@@ -0,0 +1,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
+