summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-08-07 13:54:51 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-08-07 13:54:51 +0000
commit602f57d51bc0feac8dae52964afaef61ce10f168 (patch)
tree7f932218a4bffd8ddefee7ad20de915f95cf7c84
parent3f0051a424b64c5c73aedbbc70a5b33288beb7a3 (diff)
include: cmake: pass toolchain directory to default root find path as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37737 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/cmake.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cmake.mk b/include/cmake.mk
index 64a0654f96..774632111f 100644
--- a/include/cmake.mk
+++ b/include/cmake.mk
@@ -48,7 +48,7 @@ define Build/Configure/Default
-DCMAKE_EXE_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS)" \
-DCMAKE_MODULE_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS)" \
-DCMAKE_SHARED_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS)" \
- -DCMAKE_FIND_ROOT_PATH=$(STAGING_DIR) \
+ -DCMAKE_FIND_ROOT_PATH="$(STAGING_DIR);$(TOOLCHAIN_DIR)" \
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH \
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \