summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch')
-rw-r--r--meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch b/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch
new file mode 100644
index 0000000..0c059f1
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch
@@ -0,0 +1,23 @@
1cmake: don't run cross-binaries on host machine
2
3When doing the cross build we obviously cannot run those binaries on
4host since they can be binary incompatible.
5
6Upstream-Status: Inappropriate [embedded specific]
7
8Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9
10Index: cmake-2.8.10.1/CMakeLists.txt
11===================================================================
12--- cmake-2.8.10.1.orig/CMakeLists.txt
13+++ cmake-2.8.10.1/CMakeLists.txt
14@@ -588,7 +588,8 @@ mark_as_advanced(CMAKE_STRICT)
15
16 # build the remaining subdirectories
17 add_subdirectory(Source)
18-add_subdirectory(Utilities)
19+# Come on! Running the cross-binaries on host is not a good idea.
20+#add_subdirectory(Utilities)
21 add_subdirectory(Tests)
22
23 if(BUILD_TESTING)