aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-08-07 13:54:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-08-07 13:54:51 +0000
commit7a471ec854f1d2501881cf0b15454b0dadae99c5 (patch)
tree7f932218a4bffd8ddefee7ad20de915f95cf7c84
parent388917caf95296a1e2a2a0dedeb8c83ed231326c (diff)
downloadupstream-7a471ec854f1d2501881cf0b15454b0dadae99c5.tar.gz
upstream-7a471ec854f1d2501881cf0b15454b0dadae99c5.tar.bz2
upstream-7a471ec854f1d2501881cf0b15454b0dadae99c5.zip
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 \