aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index b8f8d20..10d5b70 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -43,6 +43,10 @@ ifneq "${ENABLE_THREADS}" "yes"
OPTIONS += --disable-threadsafe
endif
+ifdef CROSS_COMPILE
+ OPTIONS += --host=${CROSS_COMPILE}
+endif
+
TOP := $(shell pwd)
TARBALL := ${TOP}/$(notdir ${URL})
BUILD := ${TOP}/build