aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch
blob: 4eb1794e4eede8afdc04400712859f45260ce2ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake: don't run cross-binaries on host machine

When doing the cross build we obviously cannot run those binaries on
host since they can be binary incompatible.

Upstream-Status: Inappropriate [embedded specific]

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

diff -ru cmake-2.8.2.orig/CMakeLists.txt cmake-2.8.2/CMakeLists.txt
--- cmake-2.8.2.orig/CMakeLists.txt	2010-07-28 00:48:42.000000000 +0200
+++ cmake-2.8.2/CMakeLists.txt	2010-07-28 01:05:17.000000000 +0200
@@ -518,7 +518,8 @@
 
 # build the remaining subdirectories
 ADD_SUBDIRECTORY(Source)
-ADD_SUBDIRECTORY(Utilities)
+# Come on! Running the cross-binaries on host is not a good idea.
+#ADD_SUBDIRECTORY(Utilities)
 ADD_SUBDIRECTORY(Tests)
 
 # add a test