summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-05 09:57:35 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-07-05 09:57:35 +0300
commitb4f87b717275f409fef3404556ecac16f86b7e1f (patch)
tree072002ed2f6befee3da08338cf54bb306934b921 /src/Makefile
parent0f3d5cd5cf38cb1bf352cc2c21266ce1f9fea2be (diff)
downloadalpine-baselayout-b4f87b717275f409fef3404556ecac16f86b7e1f.tar.gz
alpine-baselayout-b4f87b717275f409fef3404556ecac16f86b7e1f.tar.bz2
alpine-baselayout-b4f87b717275f409fef3404556ecac16f86b7e1f.tar.xz
src: honor CROSS_COMPILE to support cross compiling
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 047c474..c4c31d7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,6 @@
-CC = gcc
-LD = gcc
+CC = ${CROSS_COMPILE}gcc
+LD = ${CROSS_COMPILE}gcc
SBIN_TARGETS = mkmntdirs
TARGET = $(BIN_TARGETS) $(SBIN_TARGETS) $(USR_BIN_TARGETS)