Fix Compilation for host cmake tools.

and fix compilation of x86_64 target.
This commit is contained in:
jbnadal
2017-03-20 16:02:15 +01:00
parent da13f66e29
commit 5fc3e0c439
13 changed files with 246 additions and 37 deletions

View File

@@ -110,7 +110,7 @@ define $(2)_CONFIGURE_CMDS
cd $$($$(PKG)_BUILDDIR) && \
rm -f CMakeCache.txt && \
PATH=$$(BR_PATH) \
$$(BR2_CMAKE) $$($$(PKG)_SRCDIR) \
$$($$(PKG)_CONF_ENV) $$(BR2_CMAKE) $$($$(PKG)_SRCDIR) \
-DCMAKE_INSTALL_SO_NO_EXE=0 \
-DCMAKE_FIND_ROOT_PATH="$$(HOST_DIR)" \
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="BOTH" \