diff options
author | Rob Austein <sra@hactrn.net> | 2015-07-03 20:33:57 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-07-03 20:33:57 -0400 |
commit | 7bdeab315c5fdaf6d1b087423b98e80e80fefec8 (patch) | |
tree | ed8b682372c234db99f709a2e7fe9e70db77c48c /GNUmakefile | |
parent | f6d41618fb1b9e0449af63811c75b20f55237fb6 (diff) |
Tweaks to support cross-compilation.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 4 |
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 |