[CMAKE] Pass the architecture to host tools configure phase.

svn path=/trunk/; revision=69835
This commit is contained in:
Amine Khaldi 2015-11-07 17:18:19 +00:00
parent 3b67603f55
commit 91ac799605

View file

@ -32,6 +32,6 @@ ExternalProject_Add(host-tools
BUILD_ALWAYS 1
PREFIX host-tools
EXCLUDE_FROM_ALL 1
CMAKE_ARGS "-DNEW_STYLE_BUILD=1"
CMAKE_ARGS "-DNEW_STYLE_BUILD=1 -DARCH:STRING=${ARCH}"
INSTALL_COMMAND ""
BUILD_BYPRODUCTS ${tools_binaries})