[Cryptech-Commits] [user/sra/sqlite3] 01/01: Tweaks to support cross-compilation.
git at cryptech.is
git at cryptech.is
Sat Jul 4 00:34:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
sra at hactrn.net pushed a commit to branch master
in repository user/sra/sqlite3.
commit 7bdeab315c5fdaf6d1b087423b98e80e80fefec8
Author: Rob Austein <sra at hactrn.net>
Date: Fri Jul 3 20:33:57 2015 -0400
Tweaks to support cross-compilation.
---
GNUmakefile | 4 ++++
1 file changed, 4 insertions(+)
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
More information about the Commits
mailing list