summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:38:32 +0100
committerAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:50:20 +0100
commite2e6f6fe07049f33cb6348780fa975162752e421 (patch)
treeb1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-devtools/cmake/cmake/dont-run-cross-binaries.patch
downloadpoky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
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 0000000000..0c059f12ed
--- /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)