aboutsummaryrefslogtreecommitdiffstats
path: root/main/libfetch/Makefile
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-07-06 11:17:07 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-07-06 11:20:42 +0000
commit7412650df3959d8a6d7fa555f14d058915a8a238 (patch)
tree06cd2671bc0e06682dc29ff5263efa5669575836 /main/libfetch/Makefile
parent4f22eabc253111ab64a1878dc8e4453449de6e03 (diff)
downloadaports-7412650df3959d8a6d7fa555f14d058915a8a238.tar.bz2
aports-7412650df3959d8a6d7fa555f14d058915a8a238.tar.xz
main/libfetch: support cross compiling
Diffstat (limited to 'main/libfetch/Makefile')
-rw-r--r--main/libfetch/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/libfetch/Makefile b/main/libfetch/Makefile
index 9bc8c116d5..38ed969c14 100644
--- a/main/libfetch/Makefile
+++ b/main/libfetch/Makefile
@@ -31,9 +31,9 @@ else
CFLAGS += -UDEBUG
endif
-CC = gcc
-LD = gcc
-AR = ar
+CC = $(CROSS_COMPILE)gcc
+LD = $(CROSS_COMPILE)gcc
+AR = $(CROSS_COMPILE)ar
RANLIB = ranlib
INSTALL = install -c -D